> -----Original Message-----
> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 02, 2004 12:02 PM
> To: [EMAIL PROTECTED]
> Subject: RE: null pointer problem in both 1.1 and 1.2alpha
>
> Actually, the only unit test I used was the one provided by the tutorial.
> I
> have not written a unit test for anything else. My observation is
> strictly
> limited to my manual testing of the web service. askQuestion(String)
> works
> perfectly, and askQuestion(String, int) fails with the null pointer
> exception
> that I posted when running a simple client that I wrote.
You should write a unit test for the server stub, and then one for the
client side, as that way you can get better info as to what is going on.
> Is it possible that differences in options I provide to java2wsdl and
> wsdl2java
> ant tasks might make a difference? Would it help if I posted the wsdl
> generated by Axis? I really have very little idea of where to look for
> the
> cause of this issue as I am pretty new to Axis and webservices in general
> and I
> am not doing anything fancy here anyway.
It would depend on how different the options you pass are.
I haven't tried 1.2alpha yet as I finally got everything working with
jdk1.5alpha and ant1.6. I figure next week I will try axis 1.2 and see if
all my unit tests pass.
" Work like you don't need the money, love like you've never been hurt, and
dance like no one is watching."
--- Satchel Paige