I' ve also test it with elementFormDefault =
javax.xml.bind.annotation.XmlNsForm.UNQUALIFIED 

the result was :

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
   <soap:Body>
      <ns2:GetProgramResponse xmlns:ns2="http://bla/namespace/bla/";>
         <ns2:return>
            <programsResult>
               <programItem id="49">
                  <adrank>0.0</adrank>
                  <products>0</products>
               </programItem>
            </programsResult>
         </ns2:return>
      </ns2:GetProgramResponse>
   </soap:Body>
</soap:Envelope>

but the ns2 namespace prefix is still present.
-- 
View this message in context: 
http://www.nabble.com/problem-with-jaxb-and-namespace-prefix-tp19901215p19901694.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to