uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

19.2.3 Service API

This subsection describes the support range of the service APIs.

Organization of this subsection
(1) javax.xml.ws.Provider interface
(2) javax.xml.ws.WebServiceContext interface
(3) javax.xml.ws.wsaddressing.W3CEndpointReferenceBuilder class

(1) javax.xml.ws.Provider interface

The following table describes the support range of the javax.xml.ws.Provider interface. For details, see the JAX-WS 2.2 specifications.

Table 19-10 Support range of the javax.xml.ws.Provider interface

No. Return value type Method name Support
1 T invoke(T request) Y

Legend:
Y: Supported in the Cosminexus JAX-WS functionality.

(2) javax.xml.ws.WebServiceContext interface

The following table describes the support range of the javax.xml.ws.WebServiceContext interface. For details, see the JAX-WS 2.2 specifications.

Table 19-11 Support range of the javax.xml.ws.WebServiceContext interface

No. Return value type Method name and Description Support
1 <T extends EndpointReference>
T
getEndpointReference (java.lang.Class<T> clazz, org.w3c.dom.Element... referenceParameters) N
2 EndpointReference getEndpointReference (org.w3c.dom.Element... referenceParameters) N
3 MessageContext getMessageContext() Y
Description Acquires the message context of an in-processing request when this method is called.
Exception

java.lang.IllegalStateException:
This exception is thrown if the request is unprocessed and the method is called.
4 java.security.Principal getUserPrincipal() N
5 boolean isUserInRole(java.lang.String role) N

Legend:
Y: Supported in the JAX-WS functionality of Application Server.
N: Not supported in the JAX-WS functionality of Application Server.

(3) javax.xml.ws.wsaddressing.W3CEndpointReferenceBuilder class

The following table describes the support range of the javax.xml.ws.wsaddressing.W3CEndpointReferenceBuilder class. For details, see the JAX-WS 2.2 specifications.

Table 19-12 Support range of the javax.xml.ws.wsaddressing.W3CEndpointReferenceBuilder class

No. Return value type Method name Support
1 -- W3CEndpointReferenceBuilder() Y
2 W3CEndpointReferenceBuilder address(java.lang.String address) Y
3 W3CEndpointReferenceBuilder attribute(javax.xml.namespace.QName name, java.lang.String value) Y
4 W3CEndpointReference build() Y
5 W3CEndpointReferenceBuilder element(org.w3c.dom.Element element) Y
6 W3CEndpointReferenceBuilder endpointName (javax.xml.namespace.QName endpointName) Y
7 W3CEndpointReferenceBuilder interfaceName(javax.xml.namespace.QName interfaceName) Y
8 W3CEndpointReferenceBuilder metadata (org.w3c.dom.Element metadataElement) Y
9 W3CEndpointReferenceBuilder referenceParameter (org.w3c.dom.Element referenceParameter) Y
10 W3CEndpointReferenceBuilder serviceName (javax.xml.namespace.QName serviceName) Y
11 W3CEndpointReferenceBuilder wsdlDocumentLocation (java.lang.String wsdlDocumentLocation) Y#

Legend:
--: Indicates that there is no return value type.
Y: Supported in the Cosminexus JAX-WS functionality.

#
Mapping of the argument wsdlDocumentLocation by using the catalog file is not supported.