tWebService usage

One Star

tWebService usage

Hello,
I have a simple WebService done under VisualStudio 2012 from which I use up a method like
'string GetFxRate(DateTime from, string FromCur, string ToCur)'
The component tWebService recognize correctly the webservice by showing me all functions.
In front of it I got a tFixedFlowInput with three parameters.
Job workflow
tFixeFlowInput--->tWebService-->tLogRow.
The job compile correctly but till I run it, I got such error:
Exception in component tWebService_1
java.lang.RuntimeException: Error compiling schema from WSDL at {file:/C:/xxx/xxx/AppData/Local/Temp/1/wsdl14256567970871/mainWSDL.wsdl}:
undefined element declaration 's:schema'
 at line 75 column 19 of schema file:/C:/Users/SZ5197/AppData/Local/Temp/1/wsdl14256567970871/mainWSDL.wsdl

Environment:
Talend Version 5.6.1 running on windows 7 32 bits.
Thanks by advance for your help Smiley Happy.
Regards.
One Star

Re: tWebService usage

You can try using Tsoap component
One Star

Re: tWebService usage

Hello,
for the schema error, I would advise you first to test with a public SOAP WS which has a fully published WSDL. For example, "" (don't forget the double quotes in your configuration). I believe in your case the issue is your sample wsdl references some XSD that are not available on your disk. The test with the public time webservice will show if it is the case. If yes, please post your WSDL and we'll hunt the references.
for the NPO error (in private message), you simply are using a JRE instead of a JDK. Please Go to Window -> preferences -> Talend and change the java interpretor path to a JDK one.
MA
Cannot post live URLS yet - test url would be "h t t p : //w w w.nanonull.com/TimeService/TimeService.asmx?wsdl" without spaces

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER 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

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

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch