How did you generate the code for the client?    It really looks "strange" as 
the "cDom" doesn't even have "name" or "surname" elements.   They are "Name" 
and "Surname".    Thus, I'm not sure how it's possible that CXF is generating 
that when using the normal JAXB databinding.    Note: it's also missing a 
"Born" element which is minOccurs=1.   Thus, it SHOULD be there, even if it's 
null.

In anycase, could you include the code for the call to addClient from your 
Client java code?   I'd like to see how you are setting up the object model 
for the parameters.

Dan


On Sat May 30 2009 5:46:13 am palos01 wrote:
> Hi all,
>
>   I am new to CXF and I am facing following problem - I would like to
> create CXF client for the WS running in the deafalt WS stack in WebLogic 10
> server. But I have a proble to transfer complex Java object - I suppose
> this is problem with DataBinding. (Primitive data types are transfered
> without problems.) Technically there is not needed namespace for the Java
> complex types.
>
> The WSDL is following
> http://www.nabble.com/file/p23791869/clientService.wsdl clientService.wsdl
>
> My configuration of CXF is following (via Spring)
> http://www.nabble.com/file/p23791869/appCtx.xml appCtx.xml
>
> Current request generated via CXF (method addClient in WSDL) is following
> (please note missing namespace java:cz.palos.test.dom for the XML tags name
> and surname)
> http://www.nabble.com/file/p23791869/addClientCall.xml addClientCall.xml
>
> Have you an idea how should I change the configuration to get the namespace
> on the right place.
>
> Many thanks in advance.
>
> Regars,
> P.

-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to