webservice exception

Four Stars

webservice exception

I'm trying to run my webservice job and this is the exception:

 

Exception in component tWebService_1
java.lang.RuntimeException: Error compiling schema from WSDL at {file:/C:/Users/chenk/AppData/Local/Temp/wsdl14950094216921/mainWSDL.wsdl}:
undefined element declaration 's:schema'
 at line 48 column 19 of schema file:/C:/Users/chenk/AppData/Local/Temp/wsdl14950094216921/mainWSDL.wsdl

 

does someone knows how to handle it?

Moderator

Re: webservice exception

Hi,

Have you tried the webservice with soapui to see if it works? What does your wsdl look like?Contain soap:enc?

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.
Four Stars

Re: webservice exception

hi! I've tried in the soapui and it works!
so it's very strange because even when I put the exactly parameters as I put in the SOAPUI it failed.
this is the WSDL :
"http://currencyconverter.kowabunga.net/converter.asmx?WSDL"
Moderator

Re: webservice exception

Hello,

Could you try tsoap component, please?

We suppose that your sample wsdl references some XSD that are not available on your disk.

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.
Four Stars

Re: webservice exception

which WSDL references I need? maybe I can just get them somehow?
And what is tsoap different from tswebservie?
Moderator

Re: webservice exception

Hi,

The problem is probably caused by "<s:element ref="s:schema" />" in the WSDL file.

Here is a link:http://mail-archives.apache.org/mod_mbox/cxf-users/200804.mbox/%3C200804081631.22720.dkulp@apache.or...

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.

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

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read