« Return to Thread: Webservice client sending null parameters to host

Re: Webservice client sending null parameters to host

by Mayank Mishra-2 :: Rate this Message:

Reply to Author | View in Thread

G'day all,

I faced the same problem using JAXB binding, I debuged it,

The code in method getPara() of DocLiteralInInterceptor class
 >>>
parameters.put(part, null);
<<<

puts null parameters in the MessageContentsLists instance.

replacing it with,

<<<
parameters.put(part, dr.read(part, xmlReader));
 >>>

results in right behavior.

I may be wrong, but sharing my own experience with you all.

With Regards,
Mayank

Daniel Kulp wrote:

> Any chance you can send a sample project that shows the problem?   Kind
> of hard to diagnos this without more details.   What version of CXF?  
> Code first/wsdl first?   Can I see the wsdl?  Can you capture the soap
> message?   JAXB/Aegis? etc....
>
>
>
> Dan
>
> On Friday 08 February 2008, mrsv wrote:
>  
>> I have a cxf webservice and a client generated using wsdl2java. When
>> the client tries to contact the service the parameters are being null.
>> I am unable to figure out the reason.Tried including all the jars from
>> cxf.
>>
>> Any answers are appreciated.
>>
>> Thanks
>>    
>
>
>
>  

 « Return to Thread: Webservice client sending null parameters to host