[resolved] Working tWebservice or tWebserviceInput

One Star

[resolved] Working tWebservice or tWebserviceInput

Online tutorials and the latest documentation both seem to be lacking a working example of how to use either tWebService or tWebServiceInput.
I'm not a web service expert, but have been tasked with loading some data via a webservice.
I'd like to at least be able to see TOS in action with a web service.
Can anyone point me to a real, working example of using either one of these components?
Any help would be greatly appreciated, as I have spend quite a bit of time reading and re-reading the latest documentation (TalendOpenStudio_Components_RG_51b_EN), and even going through the online tutorial at http://www.talendforge.org/tutorials/tutorial.php?language=english&idTuto=45 (Using the advanced settings of tWebServiceInput)

Accepted Solutions
Community Manager

Re: [resolved] Working tWebservice or tWebserviceInput

Hi
Just test the example WSDL and it should work fine. See my screenshots.
http://www.deeptraining.com/webservices/weather.asmx?WSDL
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business

All Replies
Community Manager

Re: [resolved] Working tWebservice or tWebserviceInput

Hi
Just test the example WSDL and it should work fine. See my screenshots.
http://www.deeptraining.com/webservices/weather.asmx?WSDL
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] Working tWebservice or tWebserviceInput

Shong,
Thanks. As usual, you are correct. I don't know why I couldn't get it to work before. Thanks for the reply and the screen shots.
One Star

Re: [resolved] Working tWebservice or tWebserviceInput

hello Shong,
Is there an example active as the one you mentioned here.
I need to learn how to use twebservice components as well.

Thanks in advance
Community Manager

Re: [resolved] Working tWebservice or tWebserviceInput

hello Shong,
Is there an example active as the one you mentioned here.
I need to learn how to use twebservice components as well.

Thanks in advance

Take a look at the component reference manual, it describes the component with an example.
https://help.talend.com/search/all?query=tWebService&content-lang=en
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] Working tWebservice or tWebserviceInput

Thanks Shong,
I have tried to follow this documentation.
I am getting this error :
Exception in component tWebService_2
java.lang.NullPointerException
at org.apache.cxf.common.util.Compiler.useJava6Compiler(Compiler.java:190)
at org.apache.cxf.common.util.Compiler.compileFiles(Compiler.java:144)
at org.apache.cxf.common.util.Compiler.compileFiles(Compiler.java:139)
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.compileJavaSrc(DynamicClientFactory.java:599)
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:367)
at org.talend.webservice.helper.ServiceInvokerHelper.createClient(ServiceInvokerHelper.java:143)
at org.talend.webservice.helper.ServiceInvokerHelper.getClient(ServiceInvokerHelper.java:134)
at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:235)
at test.test_0_1.test.tFixedFlowInput_1Process(test.java:691)
is there a java file that I need?
I can connect to WSDL, choose the operation.. but after running the job i am getting this error..
Community Manager

Re: [resolved] Working tWebservice or tWebserviceInput

Hi atirtil
This component requires an Oracle JDK installation on the machine, and the version should be 1.6 or higher.
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] Working tWebservice or tWebserviceInput

hello
i got another error; ParseError
these components might be used with crm 2007 or should i upgrade?
thank u a lot

What’s New for Talend Spring ’19

Join us live for a sneak peek!

Sign up now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch