Syntax
rest2Soap:
mappings:
- <rest2Soap-mapping>
rest2Soap:
mappings:
- <rest2Soap-mapping>
Sample
<serviceProxy port="2000">
<rest2Soap>
<mapping regex="/bank/.*" soapAction=""
soapURI="/axis2/services/BLZService" requestXSLT="blz-request.xsl"
responseXSLT="blz-response.xsl" />
<mapping regex="/shop/.*" soapAction=""
soapURI="/axis2/services/ShopService" requestXSLT="shop-request.xsl"
responseXSLT="shop-response.xsl" />
</rest2Soap>
</serviceProxy>
<serviceProxy port="2000">
<rest2Soap>
<mapping regex="/bank/.*" soapAction=""
soapURI="/axis2/services/BLZService" requestXSLT="blz-request.xsl"
responseXSLT="blz-response.xsl" />
<mapping regex="/shop/.*" soapAction=""
soapURI="/axis2/services/ShopService" requestXSLT="shop-request.xsl"
responseXSLT="shop-response.xsl" />
</rest2Soap>
</serviceProxy>
Child Structure
| Element | Cardinality | Description |
|---|---|---|
| rest2Soap-mapping | 0..* | Specifies the mappings. The first matching mapping will be applied to the request. |