...
Code Block | ||
---|---|---|
| ||
<definitions xmlns="http://ws.apache.org/ns/synapse" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ws.apache.org/ns/synapse http://synapse.apache.org/ns/2010/04/configuration/synapse_config.xsd"> <proxy name="StockQuoteProxy" transports="tcp"> <target> <endpoint> <address uri="http://localhost:9000/services/SimpleStockQuoteService"/> </endpoint> <inSequence> <log level="full"/> <property name="OUT_ONLY" value="true"/> </inSequence> </target> </proxy> </definitions> |
Prerequisites:
- Configure ESB to use the TCP transport . The and configure sample Axis2 client should also be setup to send TCP requests. See here for details on how to do this.
- Start Synpase using sample 266: ie synapse -sample 266
- Start Axis2 server with SimpleStockService deployed
...