> -----Original Message-----
> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 31, 2003 3:21 PM
> To: [EMAIL PROTECTED]
> Subject: Re: null pointer problem in both 1.1 and 1.2alpha
> 
> Just a follow-up to this...
> 
> I did a test with a web service I've verified to work.  Basically, it is
> the
> same as one would create after following this tutorial...
> http://www.relevancellc.com/hands-on/MagicBall/
> 
> It's one and only service method is askQuestion(String).  It takes a
> String and
> returns and String.  Like I said, this works fine.
> 
> I then modified it to take two int parameters in addition to the String.
> I do
> nothing with them except add them to the interface.  So now I have
> askQuestion
> (String, int, int).  Just to be safe, I deleted my previous Axis webapp
> and put
> a fresh one in webapps and restarted Tomcat5.  I deployed the service
> fine, but
> then when I tried to access the service with my client, I got exactly the
> same
> exception as I originally reported.  This is entirely consistent the error
> in
> my other web service since it also took a String a two int parameters.
> 
> So, what's the deal?  Can't I pass int's as parameters in a web service?
> Am I
> missing something here?

  What do you pass as the string input?

  Are you using Junit to test your client side, and have you already done
unit tests on the server stub to ensure that that is working? The problem
may be happening on the server side and you are just picking up the null
pointer exception.

" Work like you don't need the money, love like you've never been hurt, and
dance like no one is watching." 
            --- Satchel Paige 


Reply via email to