Excuse me to all. I just understand my error!

I have a service 
String operation(String name, EnumType type)

I was putting the enum to null and I saw it s forbidden! So excuse me
for this poor error!

Thanks for your help!

Max.

-----Original Message-----
From: Daniel Kulp [mailto:[EMAIL PROTECTED] 
Sent: 01 August 2008 14:16
To: [email protected]
Subject: Re: Cannot send null parameter with result of wsdl2java
(client)


On Aug 1, 2008, at 8:15 AM, Maxime Orain wrote:

> Yes where can I insert the bug?
>

https://issues.apache.org/jira/browse/CXF

If you can attach a small test case to that that shows the problem,  
that would be perfect.   Usually, if we can get a reproducable test  
case, we can get things fixed much quicker.

Dan



> I tested in 2.0.8 and 2.1.1.
>
> -----Original Message-----
> From: Daniel Kulp [mailto:[EMAIL PROTECTED]
> Sent: 01 August 2008 14:09
> To: [email protected]
> Subject: Re: Cannot send null parameter with result of wsdl2java
> (client)
>
>
> Can you log a bug with a test case?
>
> Also, what version of CXF?
>
> Dan
>
>
> On Jul 31, 2008, at 4:33 PM, Maxime Orain wrote:
>
>> Hello I ve got a problem with the client generated from wsdl2java
>>
>>
>>
>> I've a method:
>>
>>
>>
>> String operation(String param1, AnObject param2, AnObject param3,
>> anObject param4)
>>
>>
>>
>> If I want to send:
>>
>>
>>
>> Operation(null,new AnObject(), null, null)
>>
>>
>>
>> The server answers me:
>>
>> org.apache.cxf.interceptor.Fault: wrong number of arguments while
>> invoking public abstract java.lang.String com.services.
>>
>> PortType.computeX(java.lang.String,com.anObject, com.anObject,
>> com.anObject)
>>
>> with params [null, [EMAIL PROTECTED]
>>
>>
>>
>> I sent 4 parameter [null, object, null, null] and the server receive
>> only [null, object]
>>
>>
>>
>> If someone can help me it will be very appreciated!
>>
>>
>>
>> Thanks.
>>
>>
>>
>
> ---
> Daniel Kulp
> [EMAIL PROTECTED]
> http://www.dankulp.com/blog
>
>
>
>
>
>

---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog






Reply via email to