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?

  • Data Integration
  • ESB
5 REPLIES
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

 

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

 

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