| java.lang.Object com.sun.xml.ws.api.server.PortAddressResolver
PortAddressResolver | abstract public class PortAddressResolver (Code) | | Resolves port address for an endpoint. A WSDL may contain multiple
endpoints, and some of the endpoints may be packaged in a single WAR file.
If an endpoint is serving the WSDL, it would be nice to fill the port addresses
of other endpoints in the WAR.
This interface is implemented by the caller of
SDDocument.writeTo method so
that the
SDDocument can correctly fills the addresses of known
endpoints.
author: Jitendra Kotamraju |
Method Summary | |
abstract public String | getAddressFor(QName serviceName, String portName) Gets the endpoint address for a WSDL port
Parameters: serviceName - WSDL service name(wsd:service in WSDL) for which address is needed. |
getAddressFor | abstract public String getAddressFor(QName serviceName, String portName)(Code) | | Gets the endpoint address for a WSDL port
Parameters: serviceName - WSDL service name(wsd:service in WSDL) for which address is needed. Always non-null. Parameters: portName - WSDL port name(wsdl:port in WSDL) for which address is needed. Always non-null.The address needs to be put in WSDL for port element's locationattribute. Can be null. If it is null, existing port addressis written as it is (without any patching). |
|
|