Re: [Dev] Sending Data Over TCP

2018-08-23 Thread Amit Gupta
Below are the logs. [2018-08-23 09:32:59,279] [] INFO - LogMediator To: /services/TestProxy.TestProxyHttpSoap11Endpoint, WSAction: urn:mediate, SOAPAction: urn:mediate, MessageID: urn:uuid:04f974ac-5825-4743-b674-54a3d9060f9f, Direction: request, Envelope:

Re: [Dev] Sending Data Over TCP

2018-08-23 Thread Amit Gupta
Hi Thishani , Untill yesterday things were working fine however today i am getting connection refused error, Could you please help me with this, below is my proxy and sample java code. Proxy service : http://ws.apache.org/ns/synapse; name="TestProxy" startOnLoad="true"

Re: [Dev] Sending Data Over TCP

2018-08-21 Thread Amit Gupta
Thank you Thishani , I updated the proxy with the example and tried however i am getting same issue. http://ws.apache.org/ns/synapse; name="TestProxy" startOnLoad="true" statistics="disable" trace="disable" transports="http">

Re: [Dev] Sending Data Over TCP

2018-08-21 Thread Thishani Lucas
Hi Amit, As I have answered in [1], we need a TCP endpoint in the send mediator. [1] https://stackoverflow.com/questions/51947933/sending-data-over-tcp-on-wso2-esb Thanks, Thishani On Tue, Aug 21, 2018 at 7:53 PM, Amit Gupta wrote: > Hi Lahirumadu , > > Thank you for the response . > > I had

Re: [Dev] Sending Data Over TCP

2018-08-21 Thread Amit Gupta
Hi Lahirumadu , Thank you for the response . I had gone through the documentation and was little confused, Like when ESB needs to send data over TCP then IP and port of the TCP server is required however here we just mention Port, So my scenario is that ESB should be able to send data over TCP

Re: [Dev] Sending Data Over TCP

2018-08-21 Thread Lahiru Madushanka
Hi Amit, Please refer to this [1] documentation. ( contains a sample ) [1] https://docs.wso2.com/display/ESB500/TCP+Transport Thanks, Lahiru On Tue, Aug 21, 2018 at 5:28 PM Amit Gupta wrote: > Hi , > > I have created a proxy in wso2 esb wherin i can receive data over TCP from > external

[Dev] Sending Data Over TCP

2018-08-21 Thread Amit Gupta
Hi , I have created a proxy in wso2 esb wherin i can receive data over TCP from external parties. However my requirement is that i need to develop a proxy wherein esb sends request over TCP and then receives a response and then process the response further. Any leads on this or any example will