Introduction
ServiceMix supports Soap With Attachments for Java (SAAJ) and Apache Axis.
Invoking Web Services Using SAAJ
We have a component for invoking web services using SAAJ and Axis via JBI as an InOut message exchange. Here is an example of it in use. This particular example will invoke a web service to ask for a stock price.
Error formatting macro: snippet: java.lang.NullPointerException
You can invoke this by passing in this request body:
Error formatting macro: snippet: java.lang.NullPointerException
Then you should expect this response:
Error formatting macro: snippet: java.lang.NullPointerException
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.