I am using Spring-WS with JAXB.
Have the next code:
WebServiceTemplate template = (WebServiceTemplate) ctx.getBean("requestWsTemplate");
ObjectFactory f = new ObjectFactory();
Request r = f.createRequest();
r.setContent("<age>25</age>");
template.marshalSendAndReceive(r);
the <age> tag gets escaped to <age>
Is there a way to send it raw/unescaped?
Thanks.
I ended up using JAXB.
After marshalling I replace the content in my marshalled content and then send over the network the modified content.