Hi All,

Im doing a get call to receive one response like below.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root xmlns:ns2="http://www.example.com/BAR";
xmlns="http://www.example.com/FOO"; xmlns:ns3="http://www.example.com/OTHER";>
    <ns2a>A</ns2:a>
    *B*
    <ns3:c>OTHER</ns3:c>
</root>

but one time am getting like above and some other time am getting like below

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root xmlns="http://www.example.com/BAR";
xmlnsns2:="http://www.example.com/FOO";
xmlns:ns3="http://www.example.com/OTHER";>
     A 
    <ns2:b>B</ns2:b>
    <ns3:c>OTHER</ns3:c>
</root>

>From the above the namespace prefixes are changing.

How to avoid the the Namespaces inconsistency.*This is in cxf 2.2*.
please post you comments thanks in advance.



--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF2-2-Response-Namespaces-inconsistency-tp5748120.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to