Hi Gregg,

Thanks for the hint. I've managed to generate the test client now.
Everything works fine, except for validating the result I get. The
returned String is still null (which confirms the results of my other
method calls).

I went again through the process of setting up the web service and
generating the code. The only odd thing I noticed is with the
interface for the Java class from which I want to build the service.
The class would be something like myPackage.SayHello; The interface
generated by WSDL2Java has the exact same name, which makes it kinda
hard for the class and the interface to coexist. I don't know, if this
could be relevant.

Cheers,

Martin

> http://ws.apache.org/axis/java/reference.html

> -t builds testClient

>    good luck,



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> On Behalf Of Martin Wunderlich
> Sent: Wednesday, April 05, 2006 3:57 PM
> To: Jinyuan Zhou
> Subject: Re[2]: Problem using deployed Axis web services

> Thanks a lot for the quick replies, Jinyuan.

> I checked WSDL2Java for the JUnit option you mentioned, but couldn't
> find it.
> As for the URL I call the web service with, it's a bit different from
> the one you provided. I tried the following:
> http://localhost/WSTest/services/SayHello2?method=hello&in0=Bla
> and
> http://localhost/WSTest/services/SayHello2?method=hello&in=Bla

> Neither of this works.

> I have also pasted the client code below. This only returns a null
> value.

> Cheers,

> Martin


Reply via email to