Axis2MessageContextDataProvider

From GreenVulcano Wiki
Revision as of 09:04, 14 February 2012 by C.romano (talk | contribs)
Jump to: navigation, search

The DataProvider Axis2MessageContextDataProvider Axis allows you to set objects to manipulate input / output for webservices.

The objects are used in Axis2 are OMElement.

The context of the DataProvider object is org.apache.axis2.MessageContext

The class org.apache.axis2.utilXMLUtils has a number of methods for manipulating objects OM.

For example, OGNL you can use the following expression:

envelope.body.addChild (@org.apache.axis2.util.XMLUtils toom (# input.object.getDocumentElement ()))

to add body to the input Webservices