The destination where the service proxy will send messages to. Use the target element if you want to send the messages to a target. Supports dynamic destinations through expressions.
Syntax
<target host="string" port="integer">
<ssl />?
</target><target url="url" /><target host="string" port="integer"> <ssl />? </target><target url="url" />
Sample
<serviceProxy port="80">
<target host="http://thomas-bayer.com/axis2/services/BLZService" />
</serviceProxy><serviceProxy port="80">
<target url="http://thomas-bayer.com/axis2/services/BLZService" />
</serviceProxy><serviceProxy port="80"> <target host="http://thomas-bayer.com/axis2/services/BLZService" /> </serviceProxy><serviceProxy port="80"> <target url="http://thomas-bayer.com/axis2/services/BLZService" /> </serviceProxy>
Attributes
| Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| adjustHostHeader | false | - | - | - |
| host | false | - | Host address of the target. | localhost, 192.168.1.1 |
| language | false | SpEL | the language of the inline expressions | SpEL, groovy, jsonpath, xpath |
| method | false | - | The method that should be used to make the call to the backend. Overwrites the original method. | - |
| port | false | 80 | Port number of the target. | 8080 |
| url | false | - | Absolute URL of the target. If this is set, host and port will be ignored. Supports inline expressions through ${<expression>} elements. | http://membrane-soa.org |
Child Elements
| Element | Description | Cardinality |
|---|---|---|
| ssl | Configures inbound or outbound SSL connections. | 0..1 |