Hello again, In my wsdl file I have reference to xml schema type nonNegativeInteger When I call WSDL2Java on this file, I obtain:
Parsing XML file: C:\Projects\DiscoveryContractServiceFlatImpl.wsdl Retrieving document at 'DiscoveryContractServiceFlat.wsdl', relative to 'C:\Projects\DiscoveryContractServiceFlatImpl.wsdl'. java.io.IOException: Type http://www.w3.org/2001/XMLSchema:nonNegativeInteger is referenced but not defined. at org.apache.axis.wsdl.toJava.SymbolTable.checkForUndefined(Unknown Source) at org.apache.axis.wsdl.toJava.SymbolTable.add(Unknown Source) at org.apache.axis.wsdl.toJava.Emitter.emit(Unknown Source) at org.apache.axis.wsdl.toJava.Emitter.emit(Unknown Source) at org.apache.axis.wsdl.WSDL2Java$WSDLRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:484) Workaround is to change type from nonNegativeInteger to int, but this is not great decision.. In that piece of xsd it crashes: <xsd:simpleType name = "DiscrepancyIdType"> <xsd:restriction base = "xsd:nonNegativeInteger"/> </xsd:simpleType> I use nightly builded (3/18/02) axis. -- Best regards, Alex Krotov mailto:[EMAIL PROTECTED] _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
