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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[tWebService]You must provide an object of type specified by property clazz

Hi,

 

I'm using Talend for data Integration 7.0.1

I tried to call one of my Webservice with the component tWebService but each time i got this error:

Exception in component tWebService_1 (test)
java.lang.IllegalArgumentException: You must provide an object of type specified by property clazz.
at org.talend.webservice.mapper.ComplexTypeMapper.typeToValue(ComplexTypeMapper.java:147)
at org.talend.webservice.mapper.SimplePropertyMapper.getValueFrom(SimplePropertyMapper.java:98)

 

When i try to configure the webService the input and input type are not recognised (noType):

0683p000009LzzV.png

But i can still create them in the input mapping:

0683p000009Lzt9.jpg

 

Thanks for the help.

Best Regards.

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,

 

I was passing some values i got from a flat file.

 

I didn't get this service to work with complex Request / Response, so now i have setup my job using tESBConsumer

 

My job is looking like that : tfileInput --> tXMLMap --> tESBConsumer --> tXMLMap --> tfileOutput 

 

I use xsd file for tXMLMap I got from soapui.

 

Best Regards.

View solution in original post

4 Replies
Anonymous
Not applicable
Author

Hello,

Are you passing some input values to tWebService from Input component(tfixedflowInput)?

Could you please give us some background about your job?

Best regards

Sabrina

 

Anonymous
Not applicable
Author

Hi,

 

I was passing some values i got from a flat file.

 

I didn't get this service to work with complex Request / Response, so now i have setup my job using tESBConsumer

 

My job is looking like that : tfileInput --> tXMLMap --> tESBConsumer --> tXMLMap --> tfileOutput 

 

I use xsd file for tXMLMap I got from soapui.

 

Best Regards.

Anonymous
Not applicable
Author

Hello,

Does this component ESBConsumer works well for your use case?

Best regards

Sabrina

Anonymous
Not applicable
Author

Hello,

 

The component ESBConsumer works well in this case.

That's why I accept my reply as the solution.

 

Best Regards.