ServiceDelegate and
Endpoint objects.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | DEFAULT_JAXWSPROVIDER
A constant representing the name of the default
|
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract Endpoint | Returns: The newly created endpoint.A URI specifying the address and transport/protocol
to use. A http: URI MUST result in the SOAP 1.1/HTTP
binding being used. Implementations may support other
URI schemes. address, Object A service implementation object to which
incoming requests will be dispatched. The corresponding
class MUST be annotated with all the necessary Web service
annotations. implementor)Creates and publishes an endpoint object with the specified address and implementation object. |
| public Endpoint | Returns: The newly created endpoint.A URI specifying the address and transport/protocol
to use. A http: URI MUST result in the SOAP 1.1/HTTP
binding being used. Implementations may support other
URI schemes. address, Object A service implementation object to which
incoming requests will be dispatched. The corresponding
class MUST be annotated with all the necessary Web service
annotations. implementor, WebServiceFeature... A list of WebServiceFeatures to configure on the
endpoint. Supported features not in the features)features
parameter will have their default values.Creates and publishes an endpoint object with the specified address, implementation object and web service features. |
| public abstract Endpoint | Returns: The newly created endpoint.A URI specifying the desired binding (e.g. SOAP/HTTP) bindingId, Object A service implementation object to which
incoming requests will be dispatched. The corresponding
class MUST be annotated with all the necessary Web service
annotations. implementor)Creates an endpoint object with the provided binding and implementation object. |
| public Endpoint | Returns: The newly created endpoint.A URI specifying the desired binding (e.g. SOAP/HTTP) bindingId, Object A service implementation object to which
incoming requests will be dispatched. The corresponding
class MUST be annotated with all the necessary Web service
annotations. implementor, WebServiceFeature... A list of WebServiceFeatures to configure on the
endpoint. Supported features not in the features)features
parameter will have their default values.Creates an endpoint object with the provided binding, implementation object and web service features. |
| public Endpoint | Returns: The newly created endpoint.A URI specifying the desired binding (e.g. SOAP/HTTP).
Can be null. bindingId, Class<?> A service implementation class that
MUST be annotated with all the necessary Web service
annotations. implementorClass, Invoker that does the actual invocation on the service instance. invoker, WebServiceFeature... A list of WebServiceFeatures to configure on the
endpoint. Supported features not in the features)features
parameter will have their default values.Creates an endpoint object with the provided binding, implementation class, invoker and web service features. |
| public abstract ServiceDelegate | Returns: The newly created service delegate.A URL pointing to the WSDL document
for the service, or wsdlDocumentLocation, QName null if there isn't one.The qualified name of the service. serviceName, Class<? extends Service> The service class, which MUST be either
serviceClass)javax.xml.ws.Service or a subclass thereof.Creates a service delegate object. |
| public ServiceDelegate | Returns: The newly created service delegate.A URL pointing to the WSDL document
for the service, or wsdlDocumentLocation, QName null if there isn't one.The qualified name of the service. serviceName, Class<? extends Service> The service class, which MUST be either
serviceClass, WebServiceFeature... javax.xml.ws.Service or a subclass thereof.Web Service features that must be configured on
the service. If the provider doesn't understand a feature,
it must throw a WebServiceException. features)Creates a service delegate object. |
| public abstract W3CEndpointReference | Returns: theW3CEndpointReference created from
serviceName, portName,
metadata, wsdlDocumentLocation
and referenceParameters. This method
never returns null.Specifies the address of the target endpoint address, QName Qualified name of the service in the WSDL. serviceName, QName Qualified name of the endpoint in the WSDL. portName, List<Element> A list of elements that should be added to the
metadata, String W3CEndpointReference instances wsa:metadata
element.URL for the WSDL document location for
the service. wsdlDocumentLocation, List<Element> Reference parameters to be associated
with the returned referenceParameters)EndpointReference instance.Factory method to create a |
| public W3CEndpointReference | Returns: theW3CEndpointReference created from
serviceName, portName,
metadata, wsdlDocumentLocation
and referenceParameters. This method
never returns null.Specifies the address of the target endpoint address, QName the interfaceName, QName wsam:InterfaceName element in the
wsa:Metadata element.Qualified name of the service in the WSDL. serviceName, QName Qualified name of the endpoint in the WSDL. portName, List<Element> A list of elements that should be added to the
metadata, String W3CEndpointReference instances wsa:metadata
element.URL for the WSDL document location for
the service. wsdlDocumentLocation, List<Element> Reference parameters to be associated
with the returned referenceParameters, List<Element> EndpointReference instance.extension elements to be associated
with the returned elements, Map<QName, String> EndpointReference instance.extension attributes to be associated
with the returned attributes)EndpointReference instance.Factory method to create a |
| public abstract < Service endpoint interface T> T | Returns: Object Proxy instance that supports the specified service endpoint interfacethe EndpointReference that will
be invoked by the returned proxy. endpointReference, Class<T> Service endpoint interface serviceEndpointInterface, WebServiceFeature... A list of WebServiceFeatures to configure on the
proxy. Supported features not in the features)features
parameter will have their default values.The getPort method returns a proxy. |
| public static Provider | |
| public abstract EndpointReference | Returns: theEndpointReference unmarshalled from
eprInfoset. This method never returns null.infoset for EndpointReference eprInfoset)read an EndpointReference from the infoset contained in
|
| DEFAULT_JAXWSPROVIDER | back to summary |
|---|---|
| private static final String DEFAULT_JAXWSPROVIDER A constant representing the name of the default
| |
| Provider | back to summary |
|---|---|
| protected Provider() Creates a new instance of Provider | |
| createAndPublishEndpoint | back to summary |
|---|---|
| public abstract Endpoint createAndPublishEndpoint(String address, Object implementor) Creates and publishes an endpoint object with the specified address and implementation object.
| |
| createAndPublishEndpoint | back to summary |
|---|---|
| public Endpoint createAndPublishEndpoint(String address, Object implementor, WebServiceFeature... features) Creates and publishes an endpoint object with the specified
address, implementation object and web service features.
| |
| createEndpoint | back to summary |
|---|---|
| public abstract Endpoint createEndpoint(String bindingId, Object implementor) Creates an endpoint object with the provided binding and implementation object.
| |
| createEndpoint | back to summary |
|---|---|
| public Endpoint createEndpoint(String bindingId, Object implementor, WebServiceFeature... features) Creates an endpoint object with the provided binding, implementation
object and web service features.
| |
| createEndpoint | back to summary |
|---|---|
| public Endpoint createEndpoint(String bindingId, Class<?> implementorClass, Invoker invoker, WebServiceFeature... features) Creates an endpoint object with the provided binding, implementation
class, invoker and web service features. Containers typically use
this to create Endpoint objects.
| |
| createServiceDelegate | back to summary |
|---|---|
| public abstract ServiceDelegate createServiceDelegate(URL wsdlDocumentLocation, QName serviceName, Class<? extends Service> serviceClass) Creates a service delegate object.
| |
| createServiceDelegate | back to summary |
|---|---|
| public ServiceDelegate createServiceDelegate(URL wsdlDocumentLocation, QName serviceName, Class<? extends Service> serviceClass, WebServiceFeature... features) Creates a service delegate object.
| |
| createW3CEndpointReference | back to summary |
|---|---|
| public abstract W3CEndpointReference createW3CEndpointReference(String address, QName serviceName, QName portName, List<Element> metadata, String wsdlDocumentLocation, List<Element> referenceParameters) Factory method to create a
This method can be used to create a
| |
| createW3CEndpointReference | back to summary |
|---|---|
| public W3CEndpointReference createW3CEndpointReference(String address, QName interfaceName, QName serviceName, QName portName, List<Element> metadata, String wsdlDocumentLocation, List<Element> referenceParameters, List<Element> elements, Map<QName, String> attributes) Factory method to create a
This method can be used to create a
| |
| getPort | back to summary |
|---|---|
| public abstract <T> T getPort(EndpointReference endpointReference, Class<T> serviceEndpointInterface, WebServiceFeature... features) The getPort method returns a proxy. If there
are any reference parameters in the
| |
| provider | back to summary |
|---|---|
| public static Provider provider() Creates a new provider object. The algorithm used to locate the provider subclass to use consists of the following steps:
| |
| readEndpointReference | back to summary |
|---|---|
| public abstract EndpointReference readEndpointReference(Source eprInfoset) read an EndpointReference from the infoset contained in
| |