5 Replies Latest reply on Jan 28, 2011 4:49 AM by alansmanne

    Webservice deployment and namespace containing # character

    alansmanne

      Hello,

       

      While developping a webservise with JBossWS, I've encountered the following problem. One of the namespace in the WSDL contains a '#'. Let's call it http://mynamespace.com/# . As I'm not the author of the WSDL, I can't really change these namespaces.

       

      When JBoss try to deploy my Webservice, an error occurs because Jboss is looking for a file called .../server/default/tmp/jbossws/mynamespace.com#.xsd ... but this is not even a valid file system name (even if the file exists).

       

      I think this is related to http://lists.jboss.org/pipermail/jbossws-users/2008-April/005280.html

       

      If i look inside org/jboss/ws/metadata/wsdl/xsd/SchemaUtils.java/ on http://grepcode.com/file/repository.jboss.com/maven2/org.jboss.ws.native/jbossws-native-core/3.1.2.SP5/org/jboss/ws/metadata/wsdl/xsd/SchemaUtils.java/, there is actually a fix that replace all '?', ':' and '/', but nothing about '#'.

       

      I'm using JBoss 4.2.2 and this is quite annoying. Is there any fix or workaround (I just can't modify the wsdl, so at the end, these elements should be belonging to the http://mynamespace.com/# namespave, and not http://mynamespace.com/

       

       

      Thank you,

       

      Aurélien Lansmanne.