Webservice deployment and namespace containing # character
----------------------------------------------------------
Key: JBWS-3203
URL:
https://issues.jboss.org/browse/JBWS-3203
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: Windows XP
Reporter: Aurélien Lansmanne
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/...,
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/
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira