Difference between revisions of "Axis2MessageContextDataProvider"
Line 13: | Line 13: | ||
to add body. | to add body. | ||
+ | |||
+ | =={{GVESB}} Configuration== | ||
+ | |||
+ | The Axis2MessageContextDataProvider Element is used by: [[DataProviders]]. | ||
+ | The following table shows its attributes: | ||
+ | {|class="gvtable" | ||
+ | ! Attribute !! Type !! Description | ||
+ | |- | ||
+ | | type || fixed || This attribute must assume the value '''dataProvider'''. | ||
+ | |- | ||
+ | | class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.gvdp.impl.Axis2MessageContextDataProvider'''. | ||
+ | |- | ||
+ | | name || required || Name of the Axis2MessageContextDataProvider. | ||
+ | |} | ||
+ | |||
+ | Contains the sub-element [[Field]]. | ||
+ | |||
+ | {{VOTE}} |
Revision as of 15:32, 2 March 2012
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.
GreenVulcano® ESB Configuration
The Axis2MessageContextDataProvider Element is used by: DataProviders. The following table shows its attributes:
Attribute | Type | Description |
---|---|---|
type | fixed | This attribute must assume the value dataProvider. |
class | fixed | This attribute must assume the value it.greenvulcano.gvesb.gvdp.impl.Axis2MessageContextDataProvider. |
name | required | Name of the Axis2MessageContextDataProvider. |
Contains the sub-element Field.
{{#w4grb_rate:}} <w4grb_ratinglist latestvotes items="5" nosort/>