twebserviceinput error when optionnal optional arguments not sent

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
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

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog