Six Stars

[resolved] Call a WebService using tSOAP

Hi,
For testing the component tSOAP, I tried to implement the example from the documentation:

But I had en error:

mars 16, 2015 5:09:39 PM com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection post
Grave: SAAJ0009: Message send failed
Exception in component tSOAP_2
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(Unknown Source)
at org.talend.soap.SOAPUtil.invokeSOAP(SOAPUtil.java:109)
at iron_create_ua.bpo_flux_create_ua_0_1.BPO_FLUX_Create_UA.tSOAP_2Process(BPO_FLUX_Create_UA.java:510)
at iron_create_ua.bpo_flux_create_ua_0_1.BPO_FLUX_Create_UA.runJobInTOS(BPO_FLUX_Create_UA.java:866)
at iron_create_ua.bpo_flux_create_ua_0_1.BPO_FLUX_Create_UA.main(BPO_FLUX_Create_UA.java:725)
Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(Unknown Source)
... 5 more
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
... 6 more
CAUSE:
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(Unknown Source)
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(Unknown Source)
at org.talend.soap.SOAPUtil.invokeSOAP(SOAPUtil.java:109)
at iron_create_ua.bpo_flux_create_ua_0_1.BPO_FLUX_Create_UA.tSOAP_2Process(BPO_FLUX_Create_UA.java:510)
at iron_create_ua.bpo_flux_create_ua_0_1.BPO_FLUX_Create_UA.runJobInTOS(BPO_FLUX_Create_UA.java:866)
at iron_create_ua.bpo_flux_create_ua_0_1.BPO_FLUX_Create_UA.main(BPO_FLUX_Create_UA.java:725)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
... 6 more

Can anybody help me ?
Thanks
1 ACCEPTED SOLUTION

Accepted Solutions
Six Stars

Re: [resolved] Call a WebService using tSOAP

Hi,
It was a mistake on the proxy configuration.
Thanks
3 REPLIES
Moderator

Re: [resolved] Call a WebService using tSOAP

Hi,
Is your networking fine? On which official version did you get that?

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: [resolved] Call a WebService using tSOAP

Hi,
Network is working fine and the Talend's version used is 5.5.1.
Thanks for helping me !! 
Six Stars

Re: [resolved] Call a WebService using tSOAP

Hi,
It was a mistake on the proxy configuration.
Thanks