Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML 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
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

WebServices - Sending Response

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

A dead basic question. How do we get the client end point details to send the SOAP response after processing client's request?. i.e, In servlet if we want to send the response, we are writing the content into the "servlet response". How it can be accomplished in Webservice?. Pls explain the lower level details in identifying the Client from the incoming SOAP request. Thanks lot.
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For synchronous web service call, client waits for a SOAPResponse after sending a SOAPRequest. Server will simply respond to the incomming requests by sending a SOAPResponse (exactly like a servlet does).
WSDL contains the definition of SOAPResponse.

Like servlet a web service has to service for all web service requests. It is not required to get client's details (end-point port and address).

HTH
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!