2 Replies Latest reply on Jul 12, 2013 12:19 PM by Guillermo L

    custom WS namespace prefix?

    Guillermo L Newbie


      Is there a way to specify a custom namespace prefix for a web service?


      I'm currently developing under jboss AS7.1.3


      I've read that creating a package-info.java with the following content should do the trick but I had no luck so I guess that there should be some jboss/cxf magic to accomplish it.


      @javax.xml.bind.annotation.XmlSchema (

        xmlns = {

          @javax.xml.bind.annotation.XmlNs(prefix = "customws", namespaceURI="http://myws.com/")



      package com.myws;


      Thanks for your help!