Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Fernandez
Creator II
Creator II

How to call a WebService with a message SOAP formatted in XML ?

Hi,
I succeeded to implement the example provided in documentation for the component tSOAP (GetCountryByCountryCode).
But I have an issue when I try to implement a call to another webservice:
com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection post
Grave: SAAJ0008: Bad Response; cannotconnect
Exception in component tSOAP_1
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Bad response: (502cannotconnect
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_1Process(BPO_FLUX_Create_UA.java:516)
at iron_create_ua.bpo_flux_create_ua_0_1.BPO_FLUX_Create_UA.runJobInTOS(BPO_FLUX_Create_UA.java:872)
at iron_create_ua.bpo_flux_create_ua_0_1.BPO_FLUX_Create_UA.main(BPO_FLUX_Create_UA.java:731)
Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Bad response: (502cannotconnect
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(Unknown Source)
... 5 more
When I test the call to the WebService with SOAPUI, it's working...
Below the configuration:

Antoine
Labels (5)
1 Reply
Anonymous
Not applicable

Could you successfully invoke the web service from your browser with proxy?