One Star

tWebService - provide a Map to create a complexType

Does anyone know what the following error actually means?
Exception in component tWebService_5
java.lang.IllegalArgumentException: You must provide a Map to create a complexType.

Not a lot of results show up anywhere and I'm not even sure where to begin. Smiley Sad
For background: I'm passing some input values to tWebService from tFixedFlowInput - two strings and a date. Everything is input/output mapped accordingly, but lost on the error.
Thanks,
T.
3 REPLIES
Community Manager

Re: tWebService - provide a Map to create a complexType

Hi
From the error message, we see the webservice requires a parameter with complextype, you can find a solution in this topic:
http://www.talendforge.org/forum/viewtopic.php?id=25596
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: tWebService - provide a Map to create a complexType

From the error message, we see the webservice requires a parameter with complextype, you can find a solution in this topic:
http://www.talendforge.org/forum/viewtopic.php?id=25596

Thanks Shong - I did see this post, but as a non-developer I don't even know where to begin with that code (let alone where to put it). I fear this challenge has gone far beyond my current skill level, but I'll take another crack at it and see where I end up. Thanks again.
T.
Community Manager

Re: tWebService - provide a Map to create a complexType

Hi
You can write some Java code on tJava component at the beginning of job. For example:
tJava
|
tFixedFlowInput--main--tWebservice--main---tLogRow
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business