Warning | ||
---|---|---|
| ||
This component has been deprecated in favor to servicemix-http component. |
Introduction
ServiceMix supports SOAP with Attachments for Java (SAAJ) and Apache Axis.
...
Wiki Markup |
---|
{snippet:id=saaj|lang=xml|url=http:servicemix/smx3/svn.apache.org/repos/asf/incubator/servicemix/trunk/trunk/common/servicemix-components/src/test/resources/org/apache/servicemix/components/saaj/example.xml} |
To invoke this function, pass the following request body:
Wiki Markup |
---|
{snippet:id=request|lang=xml|url=http:servicemix/smx3/svn.apache.org/repos/asf/incubator/servicemix/trunk/servicemixtrunk/common/servicemix-components/src/test/resources/org/apache/servicemix/components/saaj/request.xml} |
Below is the expected response:
Wiki Markup |
---|
{snippet:id=example|lang=xml|url=http:servicemix/smx3/svn.apache.org/repos/asf/incubator/servicemix/trunk/trunk/common/servicemix-components/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.