• 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
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

How to send soap respone to a different end point or client using ws-addressing  RSS feed

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am playing around with WS-Addressing and what I failed to achieve is, how I can send a soap response to a client or end point that has not initiated the request. For example, I am sending the following SOAP Message to end point http://localhost:9000/SoapContext/SoapPort and would like to recieve the response at http://localhost:18081/myservice/hello


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://apache.org/hello_world_soap_http/types">
<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Action>http://apache.org/hello_world_soap_http/Greeter/sayHiRequest</wsa:Action>
<wsa:ReplyTo>
<wsa:Address>http://localhost:18081/myservice/hello</wsa:Address>
</wsa:ReplyTo>
<wsa:MessageID>123456</wsa:MessageID>
<wsa:To>http://localhost:9000/SoapContext/SoapPort</wsa:To>
</soapenv:Header>
<soapenv:Body>
<typ:sayHi/>
</soapenv:Body>
</soapenv:Envelope>


But What i don't know is how to consume the SOAP Message at http://localhost:18081/myservice/hello. Can I consume the soap message using a servlet? or do I have to create a new end point ?
Thanks,
gul
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!