jQuery in Action, 2nd edition*
The moose likes Web Services and the fly likes JAX-WS multiple implemetations of 1 endpoint interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAX-WS multiple implemetations of 1 endpoint interface" Watch "JAX-WS multiple implemetations of 1 endpoint interface" New topic
Author

JAX-WS multiple implemetations of 1 endpoint interface

John Landon
Ranch Hand

Joined: Sep 25, 2008
Posts: 227
Hi,
I am using JAX-WS for my web service.
Now I need to have multiple implementations of the endpoint interface. Let's say 1 implementation will return array of numbers and the other one will return array of strings. The interface has only 1 method .
Both clients want to access the same url (not by the implementations but by the endpoint interface) but each client want to receive a different array.
How do I configure this (probably in sun-jaxws.xml)? How each time the server knows what implementation to use?

Thanks.

[ October 21, 2008: Message edited by: John Landon ]
[ October 21, 2008: Message edited by: John Landon ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JAX-WS multiple implemetations of 1 endpoint interface
 
Similar Threads
Creating References to Objects
Make interface implementable by only 1 class
calendar month problem
Https and wsdl
xsd for rmi xml web service