Are you using an application server for serving the webservices? Sometimes I
also get nullpointerexceptions for every action for axis, regarding
webservices.
Could you view the wsdl at url
http://localhost:8080/axis/services/AdminService?wsdl? If you get a
nullpointerexception there  also try to restart your application server.

Regards,

Kees

-----Oorspronkelijk bericht-----
Van: Rob Montalvo [mailto:[EMAIL PROTECTED]
Verzonden: vrijdag 20 februari 2004 9:15
Aan: [EMAIL PROTECTED]
Onderwerp: Re: fault sample in the Axis distribution


Thorsten,

Thank you very much for your prompt and valuable
feedback!

That made a huge difference.  I am a lot closer now.
I am getting a null pointer exception now, but I think
it is because the program is expecting an input string
which I am not providing when I call it.

Would you (or anyone else in this forum) happen to
know
what parameters this sample expects?

Thank you all in advance,
Rob

--- Thorsten Jungblut <[EMAIL PROTECTED]> wrote:
> Hi!
>
> > Unfortunately, there is not a readme file that
> > explains
> > how to launch the client to interact with the web
> > service (like some of the other samples).
>
> javac -classpath
>
~/axis-1_1/lib/axis.jar:~/axis-1_1/lib/axis-ant.jar:~/axis-1_1/lib/commons-d
iscovery.jar:~/axis-1_1/lib/commons-logging.jar:~/axis-1_1/lib/jaxrpc.jar:~/
axis-1_1/lib/log4j-1.2.8.jar:~/axis-1_1/lib/saaj.jar:~/axis-1_1/lib/wsdl4j.j
ar:~/axis-1_1
> samples/faults/EmployeeClient.java
>
> (All in one command line)
>
> For windows you will have to replace the classpath
> by using
> -classpath c:\axis-1_1\lib\axis.jar;c:\... and so on
>
> The command must be executed in c:\axis-1_1
>
> After that, type
>
> java -cp <all the classpath stuff again>
> samples.fault.EmployeeClient
>
> Viele Gr|sse,
> Thorsten
>
> --
> T. Jungblut
>  Gravon - Das Spielerparadies
>   http://www.gravon.de/
>


__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

Reply via email to