Artix .Net

ReferenceHelper.GetSoapAddress Method (ServiceDescription, String, String)

Extracts the soap address for the specified service and WSDL document (ServiceDescription).

public static string GetSoapAddress(
   ServiceDescription serviceDescription,
   string serviceName,
   string portName
);

Parameters

serviceDescription
The ServiceDescription to extract the soap address from.
serviceName
The name of the service to get the address for.
portName
The name of the service to get the address for.

Return Value

The extracted soap address. If an error occured an empty String is returned.

See Also

ReferenceHelper Class | Bus.Services Namespace | ReferenceHelper.GetSoapAddress Overload List