cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Van <>
Subject How to customize namespaces' position and prefix in CXF response
Date Thu, 10 Mar 2011 10:15:10 GMT
Hi CXF Users, Developers,

I have a CXF v2.0.3 with several services published on it. Servies' stubs
and skeletons was generated by wsdl files which provide by a third party.

Now I got these problems:

1: The reponse soap message put all the namespaces declaration into the
first child element of SOAPBody instead of SOAPEnvelope.
2: Some namespaces' prefix has been changed to ns1...ns2.... 
3: Some elements lost their namespace prefix.

I am expecting the response like below:

&lt;soap:Envelope xmlns:soap=""

But this is what I got:

&lt;soap:Envelope xmlns:soap="">
      &lt;ns1:OUTPUT xmlns:ns1=""

BTW, I've seen this thread:
But it did not work for me. The wsdl I am using only defines SOAP1.1

Any thoughts would be greatly appreciated.


James Van

View this message in context:
Sent from the cxf-user mailing list archive at

View raw message