Win a copy of Get Programming with Java (MEAP only) this week in the Beginning Java 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

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
 
A "dutch baby" is not a baby. But this tiny ad is baby sized:
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!