rest2Soap
Can be used in
proxy, serviceProxy, transport, beans
Syntax
<rest2Soap> <mapping >* </rest2Soap>
Listing 1: rest2Soap Syntax
Sample
<serviceProxy port="200"> <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>
Listing 2: rest2Soap Example
Child Elements
| Name | Cardinality | Description |
|---|---|---|
| mapping | 0..* | Specifies a mapping for a REST resource. |