dev@jax-ws.java.net

Re: JAX-WS Null Parameter problem

From: Chinces Diana <chincesdiana_at_yahoo.com>
Date: Tue, 2 Feb 2010 05:14:23 -0800 (PST)

Yes, I know that.

My questions was how do I get to send to parameters? Even though the SOAP request is correct I still receive the null/0 parameters.

Do you have any suggestions?

 
Diana Chinces




________________________________
From: Potociar Marek <Marek.Potociar_at_Sun.COM>
To: dev_at_jax-ws.dev.java.net
Sent: Tue, February 2, 2010 3:11:43 PM
Subject: Re: JAX-WS Null Parameter problem

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
>
>
>
>