Where is javax.xml.ws.service




















JAXBContext javax. QName javax. Source javax. DataSource javax. WebService javax. SOAPMessage javax. MessageFactory org. Message javax. BindingProvider javax. WebServiceException javax. You need not acquire the port more than once for invoking the Web method of port multiple times. However, when sharing the port with multiple threads, the changes in the property of request context of the port to be shared must be performed before operating multiple threads.

If the changes are performed when operating multiple threads, communication might fail and an invalid SOAP message might be sent. Service object or acquire the port in each of the initialization methods, and reuse the object. Changes in the request context property of the port must be executed in each of the initialization methods. The parameter serviceEndpointInterface specifies the service endpoint interface that is supported by the returned proxy.

In the implementation of this method, the JAX-WS runtime system takes the responsibility of selecting a protocol binding and a port and configuring the proxy accordingly. The returned proxy should not be reconfigured by the client. Ports created in this way contain no WSDL port type information and can only be used for creating Dispatch instances.

Parameters: portName - Qualified name for the target service endpoint bindingId - A String identifier of a binding. Parameters: portName - Qualified name for the target service endpoint type - The class of object used to messages or message payloads.

Implementations are required to support javax. Source and javax. Parameters: portName - Qualified name for the target service endpoint context - The JAXB context used to marshall and unmarshall messages or message payloads. Parameters: serviceEndpointInterface - Service endpoint interface. Returns: Object instance that supports the specified service endpoint interface.

Throws: WebServiceException - If there is an error during creation of the proxy. If an illegal serviceEndpointInterface is specified. The parameter endpointReference specifies the endpoint that will be invoked by the returned proxy. If there are any reference parameters in the endpointReference , then those reference parameters MUST appear as SOAP headers, indicating them to be reference parameters, on all messages sent to the endpoint. In the implementation of this method, the JAX-WS runtime system takes the responsibility of selecting a protocol binding and a port and configuring the proxy accordingly from the WSDL associated with this Service instance or from the metadata from the endpointReference.

If this Service instance has a known proxy port that matches the information contained in the WSDL, then that proxy is returned, otherwise a WebServiceException is thrown.

Parameters: endpointReference - The EndpointReference for the target service endpoint that will be invoked by the returned proxy. If the endpointReference metadata does not match the serviceName of this Service instance.

If an invalid endpointReference is specified. If an invalid serviceEndpointInterface is specified. Ports created in this way contain no WSDL port type information and can only be used for creating Dispatch instances. Parameters: portName - Qualified name for the target service endpoint. Throws: WebServiceException - If any error in the creation of the port.

Parameters: portName - Qualified name for the target service endpoint type - The class of object used for messages or message payloads. Implementations are required to support javax. Source , javax. SOAPMessage and javax. DataSource , depending on the binding in use.

Returns: Dispatch instance.



0コメント

  • 1000 / 1000