PPT Slide
Implementing the Web Service using SOAP
- Service: Get detailed information about a particular part
- The client creates a SOAP document that specifies the procedure desired, along with the part-id parameter.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<p:getPart xmlns:p="http://www.parts-depot.com">
Again, the client will HTTP POST this document to the SOAP server at:
http://www.parts-depot.com/soap/servlet/messagerouter
Note that this is the same URL as was used when requesting the parts list.
The SOAP server peeks into this document to determine what procedure to invoke.