170 likes | 213 Views
SOAP and WSDL. CSCI 4300. Simple SOAP message. SOAP headers and body. Headers : Security credentials Transaction IDS Routing instructions Payment tokens Etc. etc. Body: Actual message content. Application-specific header example. A security header. Processing SOAP messages.
E N D
SOAP and WSDL CSCI 4300
SOAP headers and body Headers: • Security credentials • Transaction IDS • Routing instructions • Payment tokens • Etc. etc. Body: • Actual message content
Processing SOAP messages • In particular, JAX-RPC implements remote procedure calls by exchanging SOAP messages
Who processes the headers? • A node which has identified itself with this processing role will process this header.
Sequential processing • Processing nodes can add and remove headers • The Inventory node can add an authentication header and force the next node to process it
WSDL – SOAP binding • The binding determines the format of the SOAP message that will transport a service
Acknowledgements • http://today.java.net/today/2003/11/05/ch4SOAP.pdf • http://java.sun.com/developer/technicalArticles/xml/webservices/ • http://www.w3schools.com/wsdl/wsdl_documents.asp