You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Marco Firrincieli <mf...@beintoo.com> on 2012/10/09 15:37:52 UTC
get rid of ns prefix
i've created my stub classes using **maven cxf-codegen-plugin** but now everytime i create a request the tag gets a stupid ***ns*** prefix
this is what I have
<ns2:HealthCheckRequest xmlns="http://someurl.com/" xmlns:ns2="https://someurl.com/">
this is what I want
<HealthCheckRequest xmlns="http://someurl.com/">
how can i avoid that? do i need to change something in the xsd or wsdl file?
also I've noticed that this maven plugin generates a package-info.java
that starts with
@javax.xml.bind.annotation.XmlSchema(namespace = "http://someurl.com/", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)