public abstract class PortAddressResolver extends Object
This interface is implemented by the caller of
SDDocument.writeTo(com.sun.xml.ws.api.server.PortAddressResolver, com.sun.xml.ws.api.server.DocumentAddressResolver, java.io.OutputStream)
method so
that the SDDocument
can correctly fills the addresses of known
endpoints.
Constructor and Description |
---|
PortAddressResolver() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getAddressFor(QName serviceName,
String portName)
Gets the endpoint address for a WSDL port
|
String |
getAddressFor(QName serviceName,
String portName,
String currentAddress)
Gets the endpoint address for a WSDL port
|
@Nullable public abstract String getAddressFor(@NotNull QName serviceName, @NotNull String portName)
serviceName
- WSDL service name(wsd:service in WSDL) for which address is needed. Always non-null.portName
- WSDL port name(wsdl:port in WSDL) for which address is needed. Always non-null.@Nullable public String getAddressFor(@NotNull QName serviceName, @NotNull String portName, String currentAddress)
serviceName
- WSDL service name(wsd:service in WSDL) for which address is needed. Always non-null.portName
- WSDL port name(wsdl:port in WSDL) for which address is needed. Always non-null.currentAddress
- Whatever current address specified for the port in the WSDLCopyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.