cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jasminadesai <>
Subject ns1 and ns2 as namespace prefix in CXF 2.3.11
Date Sat, 16 Aug 2014 05:34:18 GMT
I am suing CXF 2.3.11.

Here is my package-info:

@javax.xml.bind.annotation.XmlSchema(namespace = "mynamespace",
elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)

I have small ping method in my rest web service. I have a similar method in
soap web service.

When I get a soap response back, all elements are prefixed with ns1.
In rest they are prefixed with ns2 and sometimes ns1.

Is there any reason behind this? 

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

View raw message