...
Wiki Markup |
---|
{snippet:id=saaj|lang=xml|url=http://svn.servicemixapache.codehaus.org/*checkout*/branchesorg/repos/asf/incubator/servicemix/trunk/servicemix-1.1components/base/src/test/resources/org/apache/servicemix/components/saaj/example.xml} |
You can invoke this by passing in this request body:
Wiki Markup |
---|
{snippet:id=request|lang=xml|url=http://svn.servicemixapache.codehaus.org/*checkout*/branchesrepos/asf/incubator/servicemix/trunk/servicemix-1.1components/base/src/test/resources/org/apache/servicemix/components/saaj/request.xml} |
Then you should expect this response:
Wiki Markup |
---|
{snippet:id=example|lang=xml|url=http://svn.servicemix.codehausapache.org/*checkout*/branchesrepos/asf/incubator/servicemix/trunk/servicemix-1.1components/base/src/test/resources/org/apache/servicemix/components/saaj/response.xml} |
Additional Resources
For a complete example, using SAAJ and incorporating the above code snippets, please see the HTTP Binding Example.
For details on JBI InOut message exchanges, please JSR 208.