This documentation is for WSO2 Enterprise Service Bus version 4.7.0 . View documentation for the latest release.

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
<definitions xmlns=""

    <proxy name="StockQuoteProxy" transports="udp">
                <address uri="http://localhost:9000/services/SimpleStockQuoteService"/>
                <log level="full"/>
                <property name="OUT_ONLY" value="true"/>
        <parameter name="transport.udp.port">9999</parameter>
        <parameter name="transport.udp.contentType">text/xml</parameter>
        <publishWSDL uri="file:repository/conf/sample/resources/proxy/sample_proxy_1.wsdl"/>


  • You need to configure Synpase to Configure Synapse to use the TCP UDP transport. The sample Axis2 client should also be setup to send TCP UDP requests. Refer Setting Up the TCP Transport section in the sample setup guide for more details. Start Synpase using sample 267: ie
  • Start Synapse: synapse -sample 267
  • Start Axis2 server with SimpleStockService deployed