Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

Wiki Markup
{snippet:id=saaj|lang=xml|url=http://cvs.servicemix.codehaus.org/*checkout*/servicemix/base/src/test/resources/org/servicemix/components/saaj/example.xml?rev=HEAD}

You can invoke this by passing in this request body

Wiki Markup
{snippet:id=example|lang=xml|url=http://cvs.servicemix.codehaus.org/*checkout*/servicemix/base/src/test/resources/org/servicemix/components/saaj/request.xml?rev=HEAD}

Then you should expect this response

Wiki Markup
{snippet:id=example|lang=xml|url=http://cvs.servicemix.codehaus.org/*checkout*/servicemix/base/src/test/resources/org/servicemix/components/saaj/response.xml?rev=HEAD}