Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAX-WS multiple implemetations of 1 endpoint interface

 
John Landon
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic