jax-ws-api icon indicating copy to clipboard operation
jax-ws-api copied to clipboard

The JAX-WS 2.1.1 spec misses necessary methods for Dispatch<?> clients

Open Tomas-Kraus opened this issue 2 years ago • 0 comments

The JAX-WS 2.1.1 specification architects and specifies fully dynamic JAX-WS based Web Services clients.

To use such Dispatch<?> based clients together with WS-Addressing, the spec needs to add two more factory methods to the Service class:

a) Service.createDispatch(QName portName, EndpointReference epr, Class class, Mode messageMode); b) Service.createDispatch(QName portName, EndpointReference epr, JAXBContext context, Mode messageMode);

The RI source code already implements at least one of those methods so clearly there is already the need for this.

For more information see the following forum thread: http://forums.java.net/jive/thread.jspa?threadID=26576&tstart=30

Environment

Operating System: All Platform: All URL: http://forums.java.net/jive/thread.jspa?threadID=26576&tstart=30

Affected Versions

[JAXWS 2.1.1 RC1]

Source: https://github.com/javaee/metro-jax-ws/issues/340 Author: glassfishrobot

Tomas-Kraus avatar Jun 02 '22 16:06 Tomas-Kraus