I believe you need to include the SOAP schema file when compiling it, or at least have a previously compiled jar on the classpath.

The xsd should be found at the following location: http://schemas.xmlsoap.org/soap/encoding/ .

 

Cezar

 


From: Maya Dahan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006 7:07 AM
To: [email protected]
Subject: SOAP encoding question

 

Hi all,

 

In the list of changes for XmlBeans v2.0.0-beta1  they  specified "Added ability to compile Schemas containing references to SOAP11 encoded arrays"

 

I have a WSDL that contains several SOAP arrays; while trying to compile it using Scomp I am getting several errors:

 

C:\Tools\XBean\2.1\xmlbeans-2.1.0\Test>..\bin\scomp GlobalWeather.wsdl
C:\Tools\XBean\2.1\xmlbeans-2.1.0\Test\GlobalWeather.wsdl:0: warning: The WSDL GlobalWeather.wsdl uses SOAP encoding. SOAP encoding is not compatible with literal XML Schema.
C:\Tools\XBean\2.1\xmlbeans-2.1.0\Test\GlobalWeather.wsdl:15:6: error: src-resolve: type '[EMAIL PROTECTED]://schemas.xmlsoap.org/soap/encoding/' not found.
C:\Tools\XBean\2.1\xmlbeans-2.1.0\Test\GlobalWeather.wsdl:19:7: error: src-resolve: attribute '[EMAIL PROTECTED]://schemas.xmlsoap.org/soap/encoding/' not found.
C:\Tools\XBean\2.1\xmlbeans-2.1.0\Test\GlobalWeather.wsdl:25:6: error: src-resolve: type '[EMAIL PROTECTED]://schemas.xmlsoap.org/soap/encoding/' not found.
C:\Tools\XBean\2.1\xmlbeans-2.1.0\Test\GlobalWeather.wsdl:29:7: error: src-resolve: attribute '[EMAIL PROTECTED]://schemas.xmlsoap.org/soap/encoding/' not found.
C:\Tools\XBean\2.1\xmlbeans-2.1.0\Test\GlobalWeather.wsdl:51:6: error: src-resolve: type '[EMAIL PROTECTED]://schemas.xmlsoap.org/soap/encoding/' not found.
C:\Tools\XBean\2.1\xmlbeans-2.1.0\Test\GlobalWeather.wsdl:55:7: error: src-resolve: attribute '[EMAIL PROTECTED]://schemas.xmlsoap.org/soap/encoding/' not found.
C:\Tools\XBean\2.1\xmlbeans-2.1.0\Test\GlobalWeather.wsdl:68:6: error: src-resolve: type '[EMAIL PROTECTED]://schemas.xmlsoap.org/soap/encoding/' not found.
C:\Tools\XBean\2.1\xmlbeans-2.1.0\Test\GlobalWeather.wsdl:72:7: error: src-resolve: attribute '[EMAIL PROTECTED]://schemas.xmlsoap.org/soap/encoding/' not found.
C:\Tools\XBean\2.1\xmlbeans-2.1.0\Test\GlobalWeather.wsdl:126:6: error: src-resolve: type '[EMAIL PROTECTED]://schemas.xmlsoap.org/soap/encoding/' not found.

 

C:\Tools\XBean\2.1\xmlbeans-2.1.0\Test\GlobalWeather.wsdl:130:7: error: src-resolve: attribute '[EMAIL PROTECTED]://schemas.xmlsoap.org/soap/encoding/' not found.
C:\Tools\XBean\2.1\xmlbeans-2.1.0\Test\GlobalWeather.wsdl:150:6: error: src-resolve: type '[EMAIL PROTECTED]://schemas.xmlsoap.org/soap/encoding/' not found.

 

C:\Tools\XBean\2.1\xmlbeans-2.1.0\Test\GlobalWeather.wsdl:154:7: error: src-resolve: attribute '[EMAIL PROTECTED]://schemas.xmlsoap.org/soap/encoding/' not found.
Time to build schema type system: 1.262 seconds
BUILD FAILED

 

What am I doing wrong?

 

Many thanks

 

  -- Maya

_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

Reply via email to