This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line!
See this thread for details.
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!