This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAX-WS and implementing Client Callbacks  RSS feed

 
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.
 
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
 
After some pecan pie, you might want to cleanse your palatte with this tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!