Soap.WSDLItems.TWSDLItems.GetPortTypes

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure GetPortTypes(PortTypeNames: TDOMStrings; SkipHttpBindings: Boolean = True;  QualifiedNames: Boolean = False);

C++

void __fastcall GetPortTypes(Soap::Wsdlintf::TDOMStrings* PortTypeNames, bool SkipHttpBindings = true, bool QualifiedNames = false);

Properties

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

Description

Fills a list with the names of all port types defined in the WSDL document.

Call GetPortTypes to retrieve the names of all port types defined in the WSDL document or any document that it imports. Each port type corresponds to an interface that the Web Service application can execute.

PortTypeNames is an existing TWideStrings object to which the names of all port types are added.

SkipHttpBindings indicates whether GetPortTypes should include port types whose definitions include an <http:binding> tag. When false, GetPortTypes retrieves all port type definitions. When true, GetPortTypes ignores port type definitions with simple HTTP bindings.

QualifiedNames indicates whether the port type names added to the list should be qualified using the target namespace prefix.

Note: GetPortTypes does not clear the WideString list before adding the names of the port types.

See Also