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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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
Labels (3)
3 Replies
Anonymous
Not applicable
Author

Try tWebservice or tSOAP component.
Anonymous
Not applicable
Author

With twebservice, I have the issue described here: https://community.talend.com/t5/Design-and-Development/resolved-Get-multiple-results-from-tWebServic...
I take a look at tsoap.
Thanks
Anonymous
Not applicable
Author

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