Java Reference
In-Depth Information
Figure5-1.Structure of a SOAP envelope
Developers on either end of the web service can extract the content of the SOAP envelope
using XML tools for processing.
NOTE
SAAJ 1.3 creates messages that adhere to both the SOAP 1.1 and SOAP 1.2 specifications. Which
version of SOAP you use will depend on your vendor. I have tried to make distinctions between
these versions where they matter. The namespace for SOAP 1.1 (the default for most tools still as
of this writing) is http://schemas.xmlsoap.org/soap/envelope/ . The namespace for SOAP 1.2 is ht-
tp://www.w3.org/2003/05/soap-envelope .
SOAP messages typically travel over HTTP (though sometimes JMS and other mechanisms
can be used). Corporate firewalls generally allow exchange of HTTP traffic already, and have
sophisticated mechanisms, including firewall rules, subnets, and so forth, in place to deal with
that traffic. Because SOAP reuses the HTTP transport layer, adopting SOAP as a standard for
Search WWH ::




Custom Search