October 2003
Intermediate to advanced
928 pages
20h 4m
English
To use SOAP with a particular Web service, you need to know in advance how the SOAP messages are structured, which protocol will be employed (HTTP or SMTP, for example), and the Internet address of the Web service. In a word, you need documentation. For example, the BookQuote SOAP message is pretty simple, but how did you learn about it? You read about it in the preceding chapter; it's documented in this book. Listing 5-1 shows the BookQuote SOAP 1.1 request message.
Example 5-1. A BookQuote RPC/Literal SOAP Request Message
<?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mh="http://www.Monson-Haefel.com/jwsbook/BookQuote"> <soap:Body> <mh:getBookPrice> <isbn>0321146182</isbn> ...
Read now
Unlock full access