8. SOAP based Web Services

rest2Soap

Version

Converts REST requests into SOAP messages.

Syntax

<rest2Soap>
<mapping >*
</rest2Soap>
<rest2Soap>
  <mapping >*
</rest2Soap>

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 Elements

ElementDescriptionCardinality
mapping0..*

Can be used in