You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by mmansoor <ma...@gmail.com> on 2008/03/30 17:03:16 UTC

Writing JAXB output to a anyType in CXF Client

Hi,

I have a CXF Based WebService. In the WS request, I have a Foo type, and in
Foo there and anyType object (referred as Foo.Body).

Now, i have a bean (myBean) generated from XSD, and Foo.Body has to be
"replaced" with the XML out put from JAX Based myBean, here is what i really
wanted to do, here i am only referring my Foo type.

<ff:Foo>
<ff1:someElement />
<ff2:body />
</ff:Foo>

to

<ff:Foo>
<ff1:someElement />

<mb:body ><!-- xml generted from XSD (myBean) --> </mb:body>
</ff:Foo> 
-- 
View this message in context: http://www.nabble.com/Writing-JAXB-output-to-a-anyType-in-CXF-Client-tp16383071p16383071.html
Sent from the cxf-user mailing list archive at Nabble.com.