> -----Original Message-----
> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 01, 2004 1:33 PM
> To: [EMAIL PROTECTED]
> Subject: RE: null pointer problem in both 1.1 and 1.2alpha
>
> Based on the fact that the service works perfectly with
> askQuestion(String)
> but fails with a null pointer exceptions simply by using
> askQuestion(String, int), the only conclusion I can draw is that Axis
> doesn't support int parameters. But that just can't be true, can
> it? Someone out there has to be using int parameters in their webservice
> methods. I've got to be missing something glaringly obvious.... or Axis
> has a serious bug, but I would think it would have bitten a lot of people
> so that the answer to my question would be obvious by now. Any further
> help is very much appreciated!
I know that axis supports ints as my web services use them. <g>
I use junit extensively in my development, and one thing I found very
helpful is to write a separate unit test for the server stub, then for the
client side (the client side actually connects to the server). It sounds
like you sre using httpunit for the client side, and you may want to use
junit.
Your project is actually something that would be very useful, so I hope
this problem can be figured out.
Is it possible that httpunit could be causing the problem? You may want to
explain more about your test procedure, and perhaps include the source code
for unit test that is causing the problem.
I have never tried using httpunit for testing the client side, but that
would imply that you are using some sort of cgi program, which wouldn't make
sense, since we are using webservices.
" Work like you don't need the money, love like you've never been hurt, and
dance like no one is watching."
--- Satchel Paige