path
Description
Can be used in
serviceProxy, soapProxy and swaggerProxy
Syntax
<path isRegExp="[false,true]" >[string]</path >
Listing 1: path Syntax
Sample
<serviceProxy port="2000"> <path >/bank</path > <target host="bank.predic8.de" /> </serviceProxy>
Listing 2: serviceProxy Example
Attributes
Name | Required | Default | Description | Example |
---|---|---|---|---|
isRegExp | false | false | If set to true the content will be evaluated as a Java Regular Expression. | true |
Explanation
The value of the content will be taken to match the path.
If isRegExp="true", the whole path has to match the given regular expression. If isRegExp="false", the path has to start with the given string.
If <path /> is a child element of a <soapProxy />, the isRegExp attribute must not be present.