The TCP transport allows you to send and receive SOAP messages over TCP. The TCP transport is included with the WSO2 product distribution but must be enabled before use. To enable the TCP transport, open the
<PRODUCT_HOME>/repository/conf/axis2/axis2.xml file in a text editor and add the following transport receiver configuration and sender configuration:
If you want to use the sample Axis2 client to send TCP messages, uncomment the TCP transport sender configuration in the following file:
The port on which the TCP server should listen for incoming messages
A positive integer less than 65535
The host name of the server to be displayed in WSDLs, etc.
A valid host name or an IP address