RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWSDLItems.GetPartsForOperation Method

Fills a list with the names of all parts defined for input messages of a specified operation.

Pascal
function GetPartsForOperation(const PortTypeName: DOMString; const OperationName: DOMString; OperationIndex: Integer; PartNames: TDOMStrings): Boolean;
C++
__fastcall Boolean GetPartsForOperation(const DOMString PortTypeName, const DOMString OperationName, int OperationIndex, TDOMStrings PartNames);

Call GetPartsForOperation to retrieve the names of all parts that make up input messages on a specified operation. The part definition must be in the WSDL document or a document that it imports. A part corresponds to definition from some type system. 

PortTypeName is the name of the port type that contains the operation. A port type corresponds to an invokable interface in a Web Service application. 

OperationName is the name of the operation from whose input messages the parts are retrieved. An operation corresponds to a method on the interface that corresponds to PortTypeName. 

PartNames is an existing TWideStrings object to which the names of all parts on input messages (input parameters) of the operation specified by OperationName. 

GetPartsForOperation returns true if it adds any part names to PartNames, false if there are no parts to add.

Note: GetPartsForOperation does not clear the WideString list before adding the names of the parts of the specified message.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!