Hi all,

I have to implement this type of communication:

external client <====> cxf-bc_1 <====> cxf-se_1 <====> bean-se <====> cxf-se_2

now I send message from cxf-se_1 to bean-se, and then to cxf-se_2, like this:

int in0 = 1;
String messageStringContent = "<message 
xmlns='http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper'>"
+ "  <part>"
+ "    <doLogin xmlns='http://myproject.com/NDWS3/types'>"
+ "      <arg0>" + in0 + "</arg0>"
+ "    </doLogin>"
+ "  </part>"
+ "</message>";
inOutExchange.getInMessage().setContent(new StringSource(messageStringContent));

So I had transformed in0 in a String.
If I have to send an Object, for example a  Person,
from cxf-se_1, so that cxf-se_2 can recognize it, how I should transform it to 
a String to send through a Normalized Message and so that I can communicate it 
to cxf-se_2 (that is implemented as a simple POJO)?

I'll be very grateful for every suggestion you would send.
Thank you in advance.
Best Regards,
anna



Reply via email to