Go to new doc!

+49 228 5552576-0


info@predic8.com

mapping

Description

Can be used in

bean and rest2Soap

Syntax

				<mapping regex="string" uri="string" />
			
Listing 1: mapping Syntax

Sample

				<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>		
			
Listing 2: mapping Example

Attributes

Name Required Default Description Example
regex true - Java Regular expression /bank/.*
requestXSLT true - Transformation that will be applied to the request. blz-request.xsl
responseXSLT true - Transformation that will be applied to the response. shop-request.xsl
soapAction true - Value of the soapAction header field.
soapURI true - Endpoint address of the SOAP service. /axis2/$1