I am attaching two WSDL Files. I am trying to generate the client for both of them. WSDL2Java doesnt give any error for the addresslookup.wsdl. But it gives that error for the cweather.wsdl. Both of them have the "http://www.w3.org/2001/XMLSchema" defined as the namespace. And both of them refer to this namespace while defining the type for example s:string.
Thanks Sudhir ----- Original Message ----- From: "Shinde, Uma" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 1:17 PM Subject: RE: WSDL2Java error! > I suppose you should include your WSDL file and then get opinions on how to fix your problem. > > -----Original Message----- > From: Sudhir [mailto:[EMAIL PROTECTED]] > Sent: Wed 5/15/2002 2:23 PM > To: [EMAIL PROTECTED] > Cc: > Subject: Re: WSDL2Java error! > > > > Jim, > I knew the link to the schema. Probably I phrased my question wrong. I > wanted to know how can I define that schema to the WSDL2Java? > Thanks > Sudhir > ----- Original Message ----- > From: "Stickley, Jim" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, May 15, 2002 11:56 AM > Subject: RE: WSDL2Java error! > > > > If you do a little research, you could find it yourself, part of the URL > in > > your error message is the following: http://www.w3.org/ Within 1 minute > of > > visiting that site I was able to find the following url: > > > > http://www.w3.org/XML/Schema > > > > You might start by looking at that. > > > > Jim Stickley > > Birch Telecom > > (816) 300-6743 > > [EMAIL PROTECTED] > > > > > > -----Original Message----- > > From: Sudhir [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, May 15, 2002 1:37 PM > > To: [EMAIL PROTECTED] > > Subject: Re: WSDL2Java error! > > > > Thanks for the reply Russel. How can I define that schema? Can you give me > a > > pointer to a place where I can learn about it. > > Thanks again > > sudhir > > > > ----- Original Message ----- > > From: "Russell Butek" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, May 15, 2002 11:17 AM > > Subject: Re: WSDL2Java error! > > > > > > > AXIS doesn't support type http://www.w3.org/2001/XMLSchema:schema. > Since > > > it doesn't know about it, it assumes you've defined it. Since, of > course, > > > you haven't defined it, you see the message that you see. > > > > > > Russell Butek > > > [EMAIL PROTECTED] > > > > > > > > > "Sudhir" <[EMAIL PROTECTED]> on 05/15/2002 12:49:48 PM > > > > > > Please respond to [EMAIL PROTECTED] > > > > > > To: <[EMAIL PROTECTED]> > > > cc: > > > Subject: WSDL2Java error! > > > > > > > > > > > > can any1 answer my following qn please > > > > > > hi, > > > I am using axis beta2. While using the WSDL2Java to generate the client > > > side aritfacts, I am getting the following exception. > > > java.io.IOException: Type http://www.w3.org/2001/XMLSchema:schema is > > > referenced but not defined. > > > at org.apache.axis.wsdl.toJava.SymbolTable.checkForUndefined > > > (SymbolTable.java:405) > > > at org.apache.axis.wsdl.toJava.SymbolTable.add(SymbolTable.j > > > ava:331) > > > at org.apache.axis.wsdl.toJava.Emitter.emit(Emitter.java:188 > > > ) > > > at org.apache.axis.wsdl.toJava.Emitter.emit(Emitter.java:155 > > > ) > > > at org.apache.axis.wsdl.WSDL2Java$WSDLRunnable.run(WSDL2Java > > > .java:725) > > > at java.lang.Thread.run(Thread.java:484) > > > Of course the wsdl defines this namespace. How do I resolve this > problem? > > > > > > sudhir > > > > > > > > > > > > > > > > > > > > > > > >
cweather.wsdl
Description: Binary data
addresslookup.wsdl
Description: Binary data
