Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
i try to call a WS using TSOAP and the action is performed well but TSOAP is returning issue due to null Output of the webservice.
And Job is stopped.
Someone had already encountering the same issue and how to by-pass or solve it.
Thanks in advance.
Here is the error I got:
Exception in component tSOAP_1
java.lang.NullPointerException
at org.talend.soap.SOAPUtil.invokeSOAP(SOAPUtil.java:111)
at bgh.test_ws_0_1.TEST_WS.tFileList_1Process(TEST_WS.java:991)
at bgh.test_ws_0_1.TEST_WS.runJobInTOS(TEST_WS.java:1389)
at bgh.test_ws_0_1.TEST_WS.main(TEST_WS.java:1246)
Hi
many thanks for your interest in my issue because it's crucial for me.
Issue is here in italic and underlined because null response is given by the SOAP if Actions are OK (it can't be modified ), So i have to find a solution to escape this issue on Talend :
currentComponent="tSOAP_1";
soapUtil_tSOAP_1.invokeSOAP(org.talend.soap.SOAPUtil.SOAP11,"http://10.110.5.68:11003/wsi/","CONTR_SERVICES.ADD",row7.Soap.toString());
// for output
row4 = new row4Struct();
row4.Header = soapUtil_tSOAP_1.getReHeaderMessage();
if(soapUtil_tSOAP_1.hasFault()){
row4.Fault = soapUtil_tSOAP_1.getReFaultMessage();
}else{
row4.Body = soapUtil_tSOAP_1.getReBodyMessage();
}
tos_count_tSOAP_1++;