RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWSDLItems.GetSoapBodyAttribute Method

Returns the value of an attribute of a body tag of a message type in an operation on the port type of a SOAP binding.

Pascal
function GetSoapBodyAttribute(const BindingName: WideString; const Operation: WideString; const IOType: WideString; const Attribute: WideString; OverloadIndex: Integer): WideString;
C++
__fastcall BSTR GetSoapBodyAttribute(const BSTR BindingName, const BSTR Operation, const BSTR IOType, const BSTR Attribute, int OverloadIndex);

Call GetSoapBodyAttribute to retrieve value of an attribute on the body tag for a message type that is part of an operation of the port type associated with a specified binding. The body tag can come from the WSDL document or another document that it imports. 

BindingName is the name of the binding that includes the operation. 

Operation is the name of the operation that includes the message. 

IOType indicates the type of the message (input or output).  

Attribute is the name of the desired attribute on the <soap:body> tag. 

OverloadIndex indicates which operation node is desired when the binding has multiple operations with the same name (overloaded methods). 0 indicates the first operation with the specified name, 1 indicates the second operation node, and so on. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!