One Star

twebserviceinput error when optionnal optional arguments not sent

Hi!
I try to call a webservice with twebserviceinput.
The webservice takes 5 arguments, 2 are optionnal.
With php, I have no problem to call the webservice with only the 3 required arguments.
With Talend, if I only send these 3 arguments, I have the following error message:
Exception in component tWebServiceInput_1
java.lang.RuntimeException: Need 5 arguments!!!
    at org.talend.DynamicInvoker.invokeMethod(DynamicInvoker.java:324)
    at org.talend.DynamicInvoker.main(DynamicInvoker.java:190)
    at org.talend.DynamicInvoker.main(DynamicInvoker.java:131)
    at generatesmartfocuanalysisreport.get_sf_clicks_2_0_1.Get_SF_Clicks_2.tFixedFlowInput_2Process(Get_SF_Clicks_2.java:4304)
    at generatesmartfocuanalysisreport.get_sf_clicks_2_0_1.Get_SF_Clicks_2.tOracleConnection_1Process(Get_SF_Clicks_2.java:6233)
    at generatesmartfocuanalysisreport.get_sf_clicks_2_0_1.Get_SF_Clicks_2.runJobInTOS(Get_SF_Clicks_2.java:6531)
    at generatesmartfocuanalysisreport.get_sf_clicks_2_0_1.Get_SF_Clicks_2.main(Get_SF_Clicks_2.java:6316)

Any way to call the webservice with only the 3 required arguments?
Regards
3 REPLIES
Community Manager

Re: twebserviceinput error when optionnal optional arguments not sent

Try tWebservice or tSOAP component.
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: twebserviceinput error when optionnal optional arguments not sent

With twebservice, I have the issue described here: https://www.talendforge.org/forum/viewtopic.php?id=44436
I take a look at tsoap.
Thanks
One Star

Re: twebserviceinput error when optionnal optional arguments not sent

tsoap looks to need fixed xml request.
How can it be variable?
Anyway... so the problem with twebserviceinput is a known issue? Will it be fixed?
Regards