tWebService: Exception in component tWebService

One Star

tWebService: Exception in component tWebService

Hello
I m having the same king of error with TDI 5.4.2 and TESB Studio 5.5.1, the job is so far only a twebservice and a tlog, the soap request doesn't need any input parameter
we are using a java.exe from a jdk 1.7
Note that this service require to logon with a user / pwd in order to use it , the url of the WSDL is [here: ]

Do you have any idea about the cause of this problem  ?
Where can I found the code relative to the changeset of the jira TDI-28480 in order to get an idea of the problem which seems to be the same ?
Exception in component tWebService_2
java.lang.RuntimeException: java.lang.ClassNotFoundException: tmp48942108com.comscore.reportmodel.DiscoverParametersResponse$DiscoverParametersResult
    at org.talend.webservice.helper.ServiceInvokerHelper.getClassForType(ServiceInvokerHelper.java:294)
    at org.talend.webservice.helper.ServiceInvokerHelper.getClassForType(ServiceInvokerHelper.java:299)
    at org.talend.webservice.mapper.MapperFactory.createComplexTypeMapper(MapperFactory.java:336)
    at org.talend.webservice.mapper.MapperFactory.createTypeMapper(MapperFactory.java:224)
at org.talend.webservice.mapper.MapperFactory.createPropertyMapper(MapperFactory.java:431)
    at org.talend.webservice.mapper.MapperFactory.createComplexTypeMapper(MapperFactory.java:347)
    at org.talend.webservice.mapper.MapperFactory.createTypeMapper(MapperFactory.java:224)
    at org.talend.webservice.mapper.MapperFactory.createMessageMapper(MapperFactory.java:212)
    at org.talend.webservice.helper.ServiceInvokerHelper.createMessageMapper(ServiceInvokerHelper.java:167)
    at org.talend.webservice.helper.ServiceInvokerHelper.getMessageMapper(ServiceInvokerHelper.java:159)
    at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:186)
    at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:239)
    at projectname.test_mmt_0_1.test_MMT.tWebService_2Process(test_MMT.java:549)
    at projectname.test_mmt_0_1.test_MMT.runJobInTOS(test_MMT.java:906)
    at projectname.test_mmt_0_1.test_MMT.main(test_MMT.java:765)
Caused by: java.lang.ClassNotFoundException: 
tmp48942108com.comscore.reportmodel.DiscoverParametersResponse$DiscoverParametersResult
[statistics] disconnected
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    at org.talend.webservice.helper.ServiceInvokerHelper.getClassForType(ServiceInvokerHelper.java:290)
    ... 14 more
Moderator

Re: tWebService: Exception in component tWebService

Hi,

What's the url of the WSDL? Can you go to your web service directly without using talend tool? Is the authentication correct?

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: tWebService: Exception in component tWebService

here is the url , but it requires authent.
the service is working well with soapUi tool, but also inside talend the service wizard works well and the tsoap component is also working but it s really not convenient in this case.
One Star

Re: tWebService: Exception in component tWebService

Jeanclaude Dusse wrote:
here is the url  , [ api.comscore.com/TestService.asmx?WSDL  ]

but it requires authent.
the service is working well with soapUi tool, but also inside talend the service wizard works well and the tsoap component is also working but it s really not convenient in this case.
One Star

Re: tWebService: Exception in component tWebService

Jeanclaude Dusse wrote:
Jeanclaude Dusse wrote:
here is the url  , [ api.comscore.com/KeyMeasures.asmx?WSDL ]

but it requires authent.
the service is working well with soapUi tool, but also inside talend the service wizard works well and the tsoap component is also working but it s really not convenient in this case.

Moderator

Re: tWebService: Exception in component tWebService

Hi,

What's your "Method name"? Could you please upload your tWebServiceInput component setting screenshot into forum? Have you tried with the tESBConsumer?

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: tWebService: Exception in component tWebService

The method I use is the DiscoverParameters . here some snaphosts from the job
Also I m not that familiar with the tesbconsumer component but it seems that it is raising the same exception

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

Have you checked out Talend’s 2019 Summer release yet?

Find out about Talend's 2019 Summer release

Blog

Talend Summer 2019 – What’s New?

Talend continues to revolutionize how businesses leverage speed and manage scale

Watch Now

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog