Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAX-WS and implementing Client Callbacks  RSS feed

 
Ron Patel
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

In my system, I have a Web Service which exposes some basic synchronous methods. Now, the actual response to the calls leads to the service sending multiple messages to the client. Therefore, for every call that a client makes, the server returns multiple results.

The way that we want to implement this is by having the client exposing a callback Web Service Endpoint that the Service can make calls on.

I am using WS-Addressing to send the URL of the client endpoint to the service.

My problem is that I don't know how to get a reference to the client's endpoint. How can I read the address that the client sent to in the ReplyTo Section of the WS-Addressing headers??

Any help is greatly appreciated.
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you tried?
I'd presume that you should be able to access the SOAP headers directly:
JAX-WS Guide: Accessing SOAP headers on incoming messages
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!