Soap.WSDLItems.TWSDLItems.GetSoapBodyNamespace

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function  GetSoapBodyNamespace(const BindingPortType: DOMString; var SOAPVersion: TSOAPVersion): DOMString;

C++

System::UnicodeString __fastcall GetSoapBodyNamespace(const System::UnicodeString BindingPortType, Soap::Wsdlintf::TSOAPVersion &SOAPVersion);

Properties

Type Visibility Source Unit Parent
function public
Soap.WSDLItems.pas
Soap.WSDLItems.hpp
Soap.WSDLItems TWSDLItems

Description

Returns the value of the first namespace attribute found on a SOAP body node inside a binding with a specified port type.

GetSoapBodyNamespace searches the bindings in the WSDL document and any documents it imports for one that has a port type that matches BindingPortType. It then searches the operations of that binding to find one whose messages include a SOAP body node. It returns the namespace attribute of that SOAP body node.

PortTypeName is the name of the port type (interface) that must appear in the binding.

See Also