Soap.WSDLItems.TWSDLItems.GetPortsForService

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure GetPortsForService(const ServiceName: DOMString; PortNames: TDOMStrings;
SkipHttpBindings: Boolean = True; QualifiedNames: Boolean = False);

C++

void __fastcall GetPortsForService(const System::UnicodeString ServiceName, Soap::Wsdlintf::TDOMStrings* PortNames, 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 ports defined within a specified service.

Call GetPortsForService to retrieve the names of all ports defined for the specified service. A port represents a binding, plus the address where that binding can be found.

ServiceName is the name of the service whose ports are listed.

PortNames is an existing TWideStrings object to which the names of all ports in the specified service are added.

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

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

Note: GetPortsForService does not clear the WideString list before adding the names of the ports.

See Also