twebservice doesn't work

Four Stars

twebservice doesn't work

hello.. so it's have been a week and I still can't connect any webservice with the twebservice component.

I thought it might be the ws problem so I just took a very simple one and I still get a java exception on it.

does any one know why is that ? or can try this url by himself to figure out if its a problem in my project?


Thanks!webservice err.jpg

Fifteen Stars TRF
Fifteen Stars

Re: twebservice doesn't work

Just tried to use tWebService but not able to enter the configuration.

Have to try more.

However, you can use tWebServiceInput as on the following capture:


1st step, I use a tFixedFlowInput to define the parameter values.

The schema contains 2 fields, CountryName and CityName which values are "Paris" and "France".

2nd step, tFlowToIterate is required a tWebServiceInput cannot be linked using a flow.

This component will autoaticaly defined a global variable for each input field.

3rd step, tWebService will call the desired web service, passing the parameters as defined in Parameter field.

The result will come into the field defined into the schema for this component (here GetWeatherResult).

Unfortunately, the web service allways send "No Data Found" as the response, don't know why but it respond.


Hope this helps.

Four Stars

Re: twebservice doesn't work

so with the twebserviceinput it works somehow, but I really want to understand why with the *same* webservice the twebservice component doesn't work.
It always fail on nullpointerexception.
Can you think of a reason?
Fifteen Stars TRF
Fifteen Stars

Re: twebservice doesn't work

How do you pass parameter values for tWebService?
I think the reason should be there.

Four Stars

Re: twebservice doesn't work

I pass them with tfixedflowinput , or with connecting it with a tmap or so. I've tried a lot of options,but nothing worked


Talend named a Leader.

Get your copy


Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables


How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration


Definitive Guide to Data Quality

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