Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
webServiceTemplate.marshalSendAndReceive() is cleaning up the xmlns attribute [SWS-982] #1053
I'm using xstream and setting "xmlns" attribute using
<generate xmlns="" ...
Because the xml namespace changes depending on the envoirnment (dev & prod), and it seems like there's no easy way to achieve that with default jaxb marshaller. With Xstream, setting it on the attribute seems like an easier hack.
Please help me with this, thanks.