RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWSDLItems.GetPortTypes Method

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

Pascal
procedure GetPortTypes(PortTypeNames: TDOMStrings; SkipHttpBindings: Boolean = True; QualifiedNames: Boolean = False);
C++
__fastcall GetPortTypes(TDOMStrings PortTypeNames, Boolean SkipHttpBindings = True, Boolean QualifiedNames = False);

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.
 

 

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