target

Version

The destination where the service proxy will send messages to. Use the target element, if you want to send the messages to a static target. If you want to use dynamic destinations have a look at the content based router.

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

NameRequiredDefaultDescriptionExamples
adjustHostHeaderfalse---
hostfalse-Host address of the target.localhost, 192.168.1.1
portfalse80Port number of the target.8080
urlfalse-Absolute URL of the target. If this is set, host and port will be ignored.http://membrane-soa.org

Child Elements

ElementDescriptionCardinality
sslConfigures inbound or outbound SSL connections.0..1

Can be used in