The offending line (below) appears in this book: http://www.oreilly.com/catalog/dotnetfrmess2/chapter/ch06.html <s:element ref="s:schema" /> So it would appear that .NET folks believe this line is legit. Stan
----- Original Message ----- From: "Stan Jordan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, March 23, 2002 5:40 PM Subject: WSDL2Java bug (Service1.asmx) > WSDL2Java chokes on this file (exception pasted below): > http://srv2.advmrkt.com/yZWebService/Service1.asmx?wsdl > > But! If you comment-out this line (which appears twice in the wsdl file) > then WSDL2Java works like a charm... > <s:element ref="s:schema" /> > > Can somebody tell me...is this a bug in the Microsoft wsdl emitter, or an > issue for WSDL2Java ? > Cheers. > Stan > I used beta1 for this exercise. > This problem was brought to my attention by Fred So. > [EMAIL PROTECTED] > ------------------------------------------- > java.io.IOException: Type http://www.w3.org/2001/XMLSchema:schema 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:536) > > > > > >