Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3203

Webservice deployment and namespace containing # character

XMLWordPrintable

      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/

            darran.lofthouse@redhat.com Darran Lofthouse
            alansmanne Aurélien Lansmanne (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: