PPT Slide
Implementing the Web Service using SOAP
- Service: Submit a Purchase Order (PO)
- The client creates a SOAP document that contains a PO instance document (which conforms to the PO schema that Parts Depot has created)
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<p:PurchaseOrder xmlns:p="http://www.parts-depot.com">
Once 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 with the other two services.
The SOAP server peeks into this document to determine what procedure to invoke.