Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#595 WADL imported from CXF has an error loading schema types

v1.0 (example)
open
nobody
general (369)
9
2010-11-09
2010-11-09
j_sorin
No

Hi,

I've imported a WADL generated using CXF, in SOAPUI 3.6.1. All the REST methods (resources) are correctly generated, but my WADL Content is empty. Looking into the log I have errors, when SOAPUI is trying to resolve my complex types from the WADL:

Mon Nov 08 14:38:54 EST 2010:WARN:Error: ...wadl.xml:0: error: src-resolve.a: Could not find type 'myType@http://research.sun.com/wadl/2006/10'. Do you mean to refer to the type named myType (in ...wadl.xml)?
Mon Nov 08 14:38:54 EST 2010:ERROR:An error occured [com.eviware.soapui.impl.wsdl.support.xsd.SchemaException], see error log for details
Mon Nov 08 14:38:54 EST 2010:ERROR:Loading of definition failed for [file:....]; com.eviware.soapui.impl.wsdl.support.xsd.SchemaException: Error loading schema types
Mon Nov 08 14:38:54 EST 2010:ERROR:An error occured [Error loading schema types], see error log for details
Mon Nov 08 14:38:54 EST 2010:ERROR:Error loading schema types from file:/...wadl.xml, see log for details

My WAD (without resources) is:

<application xmlns="http://research.sun.com/wadl/2006/10" xmlns:xs="http://www.w3.org/2001/XMLSchema"><grammars><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified">
<xs:element name="objectId" type="myType"/>
<xs:complexType name="myType">
<xs:sequence>
<xs:element name="value" type="xs:long"/>
</xs:sequence>
</xs:complexType>
</grammars>
<resources/></application>

Any help is very appreciated.

Thanks,
Sorin

Discussion

  • j_sorin
    j_sorin
    2010-11-09

    • priority: 5 --> 9
     
  • Nenad  Ristic
    Nenad Ristic
    2010-11-12

    Which log is this from? Is there anything in any of the other logs?