One Star

Passing arrays as arguments to WebService

Hi,
I am new to TALEND and evaluating it for my company.
I was doing some tests and got stuck on an error.
When I try to pass an long array (so far I tested array of String and int too) to a webservice I get the following exception:
Exception in component tWebServiceInput_1
java.lang.RuntimeException: not know how to convert ')globalMap.get("arrayBCB") as the parameter of my WS.
What is th correct way to do this?
Thanks and best regards
Ricardo
2 REPLIES
One Star

Re: Passing arrays as arguments to WebService

I was able to do this using the advanced settings and using the stub.
I was having trouble with this feature because I set the Match Brackets to "}" and this made the generated code uncompilable. Setting it to "NONE" resolved this problem.
One Star

Re: Passing arrays as arguments to WebService

Hi Ricardo
Thanks for the feedback on your problem!
Regards,
Pedro