dev@jax-ws.java.net

Re: JAX-WS Null Parameter problem

From: Potociar Marek <Marek.Potociar_at_Sun.COM>
Date: Tue, 02 Feb 2010 14:11:43 +0100

I would guess it is because null is not a valid primitive value.

Regards,
Marek





On 2.2.2010, at 13:46, Chinces Diana wrote:

> Hi,
>
> I have encountered the following issue when developing a Java Web
> Service with JAX-WS: when calling the web method I always receive
> null parameters as input. If I use primitive types for the parameter
> types I get 0 instead of null.
>
> Do you have any idea why? Any suggestions would be appreciated.
>
> Thanks,
>
> Diana Chinces
>
>
>