Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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
 
Who knew that furniture could be so violent? Put this tiny ad out there to see what happens:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic