Fuse ESB servicemix-cxfbc consumer adds extraneous 'xmlns' to incoming message.
Issue
- Fuse ESB servicemix-cxfbc consumer is adding extraneous 'xmlns' for each element when using namespace prefixes when an XML request is sent to servicemix-cxfbc consumer, using namespace prefixes like:
<p:priceRQ xmlns:p="http://example.com/">
<p:ticker>test</p:ticker>
<p:date>2008-07-29</p:date>
</p:priceRQ>
- the cxfbc consumer adds an extraneous namespace definition to each element, for example:
<p:priceRQ xmlns:p="http://example.com/">
<p:ticker xmlns:p="http://example.com/">test</p:ticker>
<p:date xmlns:p="http://example.com/">2008-07-29</p:date>
</p:priceRQ>
- While this XML is still valid, the size of the message can be significantly larger (and the XML with such declaration becomes hard to read).
Environment
- Fuse ESB 3.3.x
- All Platforms
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.