You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Christian Gross <ma...@devspace.com> on 2002/04/04 15:48:48 UTC
Problem with Java2WSDL
I tried running the sample/userguide/example5 through the Java2WSDL tool
and I keep getting the error:
java.lang.NoSuchMethod error in org.apache.axis.wsdl.fromJava.ClassRep
The original error came from an interface that references another
interface, but I decided to test on a standard sample and received the same
error.
So my question is, can Java2WSDL only cope with simple data types? Or can
Java Beans be referenced?
Thanks
Christian Gross
Software Engineering Consultant
http://www.devspace.com
North America: 1-450-675-4208
Europe +41.1.701.1166
Re: Problem with Java2WSDL BUG????
Posted by Christian Gross <ma...@devspace.com>.
As some final feedback. When I take the files on the Windows box and then
run them on the Linux box everything works like it should. So now I am
really tempted to believe something got broke between March 27 and
now? Could anybody agree or disagree with this? Should I be looking at
what has changed?
Christian Gross
At 21:09 04/04/2002 +0200, you wrote:
>Hi
>
>Thanks for your feedback, but it did not help. However I did manage to
>get it to work and let me explain why.
>
>I have two configurations. One is a Windows Box and another is a Linux
>PowerPC box. The Windows Box has a distribution of Axis that is from
>March 27. Whereas the Linux PowerPC box is the CVS tree from today. When
>I run the Linux PowerPC edition I cannot get any of the WSDL stuff with
>Beans or WSDL generation to work at all. Even when deployed. However,
>the Web Service works without problems.
>
>If I do the exact same steps with Windows, everything works without
>problems. I am investigating this a bit more, but I am thinking that
>maybe some of the WSDL stuff may have gotten broken between March 27 and
>now. To verify what I say would it be too much to ask to build a WSDL
>file from the command line using the Axis build of today? Or are you
>using today's build? Or maybe I am looking at this too much...
>
>What I am now going to try is moving all of the files from Windows to
>Linux and see if it works...
>
>Christian Gross
>
>At 08:11 04/04/2002 -0700, Stan Jordan wrote:
>>Christain...
>>I got this example to work. Look in the archives for how-to.
>> Sent: Thursday, March 28, 2002 9:19 AM
>> Subject: WSDL2Java issue (samples/userguide/example5)
>>Good luck.
>>Stan
>>
>>
>>----- Original Message -----
>>From: "Christian Gross" <ma...@devspace.com>
>>To: <ax...@xml.apache.org>
>>Sent: Thursday, April 04, 2002 6:48 AM
>>Subject: Problem with Java2WSDL
>>
>>
>> > I tried running the sample/userguide/example5 through the Java2WSDL tool
>> > and I keep getting the error:
>> >
>> > java.lang.NoSuchMethod error in org.apache.axis.wsdl.fromJava.ClassRep
>> >
>> > The original error came from an interface that references another
>> > interface, but I decided to test on a standard sample and received the
>>same
>> > error.
>> >
>> > So my question is, can Java2WSDL only cope with simple data types? Or can
>> > Java Beans be referenced?
>> >
>> > Thanks
>> >
>> > Christian Gross
>> > Software Engineering Consultant
>> > http://www.devspace.com
>> > North America: 1-450-675-4208
>> > Europe +41.1.701.1166
>> >
>> >
>> >
>
>Christian Gross
>Software Engineering Consultant
>http://www.devspace.com
>North America: 1-450-675-4208
>Europe +41.1.701.1166
Christian Gross
Software Engineering Consultant
http://www.devspace.com
North America: 1-450-675-4208
Europe +41.1.701.1166
Re: Problem with Java2WSDL BUG????
Posted by Christian Gross <ma...@devspace.com>.
Hi
Thanks for your feedback, but it did not help. However I did manage to get
it to work and let me explain why.
I have two configurations. One is a Windows Box and another is a Linux
PowerPC box. The Windows Box has a distribution of Axis that is from March
27. Whereas the Linux PowerPC box is the CVS tree from today. When I run
the Linux PowerPC edition I cannot get any of the WSDL stuff with Beans or
WSDL generation to work at all. Even when deployed. However, the Web
Service works without problems.
If I do the exact same steps with Windows, everything works without
problems. I am investigating this a bit more, but I am thinking that maybe
some of the WSDL stuff may have gotten broken between March 27 and now. To
verify what I say would it be too much to ask to build a WSDL file from the
command line using the Axis build of today? Or are you using today's
build? Or maybe I am looking at this too much...
What I am now going to try is moving all of the files from Windows to Linux
and see if it works...
Christian Gross
At 08:11 04/04/2002 -0700, Stan Jordan wrote:
>Christain...
>I got this example to work. Look in the archives for how-to.
> Sent: Thursday, March 28, 2002 9:19 AM
> Subject: WSDL2Java issue (samples/userguide/example5)
>Good luck.
>Stan
>
>
>----- Original Message -----
>From: "Christian Gross" <ma...@devspace.com>
>To: <ax...@xml.apache.org>
>Sent: Thursday, April 04, 2002 6:48 AM
>Subject: Problem with Java2WSDL
>
>
> > I tried running the sample/userguide/example5 through the Java2WSDL tool
> > and I keep getting the error:
> >
> > java.lang.NoSuchMethod error in org.apache.axis.wsdl.fromJava.ClassRep
> >
> > The original error came from an interface that references another
> > interface, but I decided to test on a standard sample and received the
>same
> > error.
> >
> > So my question is, can Java2WSDL only cope with simple data types? Or can
> > Java Beans be referenced?
> >
> > Thanks
> >
> > Christian Gross
> > Software Engineering Consultant
> > http://www.devspace.com
> > North America: 1-450-675-4208
> > Europe +41.1.701.1166
> >
> >
> >
Christian Gross
Software Engineering Consultant
http://www.devspace.com
North America: 1-450-675-4208
Europe +41.1.701.1166
Re: Problem with Java2WSDL
Posted by Stan Jordan <sk...@worldnet.att.net>.
Christain...
I got this example to work. Look in the archives for how-to.
Sent: Thursday, March 28, 2002 9:19 AM
Subject: WSDL2Java issue (samples/userguide/example5)
Good luck.
Stan
----- Original Message -----
From: "Christian Gross" <ma...@devspace.com>
To: <ax...@xml.apache.org>
Sent: Thursday, April 04, 2002 6:48 AM
Subject: Problem with Java2WSDL
> I tried running the sample/userguide/example5 through the Java2WSDL tool
> and I keep getting the error:
>
> java.lang.NoSuchMethod error in org.apache.axis.wsdl.fromJava.ClassRep
>
> The original error came from an interface that references another
> interface, but I decided to test on a standard sample and received the
same
> error.
>
> So my question is, can Java2WSDL only cope with simple data types? Or can
> Java Beans be referenced?
>
> Thanks
>
> Christian Gross
> Software Engineering Consultant
> http://www.devspace.com
> North America: 1-450-675-4208
> Europe +41.1.701.1166
>
>
>