Remove namespace prefix from XmlBean
I do like in airplane example form sring-ws package but XMLBean put namespace prefix and my service client don't work. Does anyone know how to stript out the namespace prefixes when saving the output of an XmlBean. I'm using the saver to save to file, but I would like it to so without the name space prefix. How Can this be done?
Right now the output of the XmlBean looks something like:
<?xml version="1.0" encoding="UTF-8"?>
<web:GetQuote xmlns:web="webserviceX.NET/">
<web:symbol>GOOG</web:symbol>
</web:GetQuote>
I would like it to look like:
<GetQuote xmlns:web="webserviceX.NET/">
<symbol>GOOG</web:symbol>
</GetQuote>
Thanks.
|