+49 228 5552576-0


info@predic8.com

switch

Can be used in

proxy, serviceProxy, transport, beans

Syntax

				<switch>
					<case >*
				</switch>	
			
Listing 1: switch Syntax

Sample

				<serviceProxy port="200">
					<switch>
						<case xPath="//express" url="http://shop.predic8.com/express/" />
						<case xPath="//order" url="http://shop.predic8.com/order/" />
						<case xPath="//complaint" url="http://shop.predic8.com/complaint/" />
					</switch>	
				</serviceProxy>
			
Listing 2: switch Example

Child Elements

Name Cardinality Description
case 0..* Specifies a XPath expression and a target URL.

Copyright © 2008-2013 predic8 GmbH
Moltkestr. 40, 53173 Bonn, Tel. +49 (228) 555 25 76-0