We have a problem to migrate from 3.0.6 to 3.2.3 which is related to our webservices. The webservices are working correctly after the migration. The problem occurs when we try to access the WSDL (e.g. by using XML-Spy as client):

Schema error - undefined schema component 'simpleContent' encountered - expected: (annotation | list | restriction | union)

This is the excerpt of the WSDL:

<schema targetNamespace="http://net.jboss.org/jmx";
   xmlns="http://www.w3.org/2001/XMLSchema";>
   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"; />
   <simpleType name="ObjectNameType">
      <simpleContent>
         <extension base="xsd:string" />
      </simpleContent>
   </simpleType>
</schema>

The W3C Validator gives the following error:
Invalid per cvc-complex-type.1.2.4: element {http://www.w3.org/2001/XMLSchema}:simpleContent not allowed here (1) in element {http://www.w3.org/2001/XMLSchema}:simpleType, expecting [{http://www.w3.org/2001/XMLSchema}:annotation,{http://www.w3.org/2001/XMLSchema}:union,{http://www.w3.org/2001/XMLSchema}:restriction,{http://www.w3.org/2001/XMLSchema}:list]:


In JBoss 3.0.6 and 3.2.1 the problem does not exist. Does JBoss generate a wrong WSDL?

Thanks a million,

-marek



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to