When I run the following command,

java org.apache.axis.wsdl.WSDL2Java samples/addr/AddressBook.wsdl

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/avalon/exc
alibur/cli/CLOptionDescriptor at org.apache.axis.wsdl.WSDL2Java.<clinit>(Unknown Source)

Where can I find the org/apache/avalon/excalibur/? It is not in the source code tree.

Thanks,
Emily


At 07:44 AM 3/24/2002 -0700, Stan Jordan wrote:
Fred...
The stanski service works fine with Axis.  Use WSDL2Java to build your
stubs, as I explained in the other thread.  Good luck.
Stan

----- Original Message -----
From: "Fred So" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 24, 2002 2:04 AM
Subject: Re: WSDL2Java bug (Service1.asmx)


> There is another MS-based webservice which I also have
> problems with:
>
> http://www.stanski.com/services/worldweather/weather.asmx
>
> There was no problem when using Axis alpha 3, but
> started to break since beta versions.
>
> Fred
>
>
> --- Stan Jordan <[EMAIL PROTECTED]> wrote:
> > 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)
> > >
> > >
> > >
> > >
> > >
> > >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy Awards®
> http://movies.yahoo.com/

Reply via email to