Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everybody,
I have been trying to make a connection to a webservice with the tWebService component but to no avail. I can access the list of operations and select one, then add the input variables and then the output one, but I am getting this error all the time:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cxf/tools/util/JAXBUtils at org.talend.webservice.helper.ServiceInvokerHelper.<init>(ServiceInvokerHelper.java:119) at org.talend.webservice.helper.ServiceInvokerHelper.<init>(ServiceInvokerHelper.java:103) at org.talend.webservice.helper.ServiceInvokerHelper.<init>(ServiceInvokerHelper.java:99) at wave.test_0_1.Test.tFixedFlowInput_1Process(Test.java:814) at wave.test_0_1.Test.runJobInTOS(Test.java:1369) at wave.test_0_1.Test.main(Test.java:1220) Caused by: java.lang.ClassNotFoundException: org.apache.cxf.tools.util.JAXBUtils at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 6 more [statistics] disconnected
I have attached 4 screenshots with the very simple example that I am trying to do.
Regards,
JNanin
Hello,
Could you please clarify in which Talend version/edition you are? I cannot repro this issue on talend open studio for data integration V 7.1.1.
Have you tried to restart your studio to see if it works?
Best regards
Sabrina
Hello,
Are you using JDK 1.8?
The tWebservice works with cxf.jar, and cxf must work with JDK.(not JRE).
Best regards
Sabrina
Hi Sabrina,
Is it just adding -vm C:\Program Files\Java\jdk1.8.0_181\bin to the ini file,right?
If it is just that, I have added it already and it is still giving the same error.
Regards,
JNanin
Hello,
Did you successfully install module cxf-tools-common-3.2.6.jar file for tWebService component in your studio?
Best regards
Sabrina
Hello,
Talend Studio requires specific third-party Java libraries or database drivers (.jar files) to be installed to connect to sources and targets.
For more information, please refer to this online documentation about:TalendHelpCenter:Installing external modules.
Best regards
Sabrina
Hi Sabrina,
Thanks for the help. As far as I know, the modules are installed correctly.
Here it is a print of the modules installed for the tWebService
Regards,
JNanin
Hello,
Could you please clarify in which Talend version/edition you are? I cannot repro this issue on talend open studio for data integration V 7.1.1.
Have you tried to restart your studio to see if it works?
Best regards
Sabrina
Hi Sabrina,
I was using the 7.0. I have downloaded the latest version and I am going to import the job, let´s see if that fixes the problem. I´ll tell you something in a bit.
Regards,
JNanin
Hello,
Don't hesitate to post your issue on forum.
Best regards
Sabrina
Hi again,
It took me a while but it is finally working. I don´t know if the problem was on the 7.0 version or if something got corrupted, but now I have finally managed to make the connection.
Thank you a lot for the help.
Regards,
JNanin