Java Reference
In-Depth Information
<url-pattern>/SAAJProviderServlet</url-pattern>
</servlet-mapping>
...
Clicking the link gives you this response in the browser:
HTTP/1.x 200 OK
X-powered-by: SOA Cookbook
Server: Sun Java System Application Server 9.1_02
Content-Type: text/xml
Transfer-Encoding: chunked
Date: Fri, 25 Jul 2008 18:21:21 GMT
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<soa:message xmlns:soa="urn:soacookbook:saaj">
Hello, Eben!
</soa:message>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
The SOAP message contains your happy greeting, and if you dump the entire contents of the
message, you see your user-defined HTTP header.
Search WWH ::




Custom Search