Marek, How does the wsdl look like under 3.0.6 or 3.2.1?
There is indeed some jboss.net specific code that builds service meta-data from the JMX introspection API, but this code should just drive the Axis WSDL-Emitter (which then generates the seemingly invalid xsd fragment). CGJ -----Urspr�ngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Marek Lange Gesendet: Donnerstag, 22. Januar 2004 18:41 An: [EMAIL PROTECTED] Betreff: [JBoss-dev] WSDL generation broken in >=3.2.2? 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/XMLSc hema}:union,{http://www.w3.org/2001/XMLSchema}:restriction,{http://www.w3.or g/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 ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ ------------------------------------------------------- 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
