[jboss-user] [JBoss Web Services] - Apostrophe in target namespace

Davide D'Alto do-not-reply at jboss.com
Fri Jan 27 06:03:48 EST 2012


Davide D'Alto [https://community.jboss.org/people/davided80] created the discussion

"Apostrophe in target namespace"

To view the discussion, visit: https://community.jboss.org/message/649041#649041

--------------------------------------------------------------
Hi,
I have a wsdl where the target namespace contains an apostrophe. Ex:

<wsdl:definitions
...
xmlns:tns="glass's/WebServices"
targetNamespace="glass's/WebServices"
...
>
...

When I generate the classes using wsconsume, everything works fine. But when I deploy the webservice on JBoss AS 4.2.3 the service is not deployed because of the single quote in the namespace of the generated wsdl.

This is the first line of the error in the server log:
ERROR [org.jboss.wsf.common.DOMUtils] Cannot parse: <definitions name='vvWSService' targetNamespace='glass's/WebServices' xmlns=' http://schemas.xmlsoap.org/wsdl/ http://schemas.xmlsoap.org/wsdl/' ...
...
Caused by: java.io.IOException: org.xml.sax.SAXParseException: Element type "definitions" must be followed by either attribute specifications, ">" or "/>".


Thanks,
Davide
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/649041#649041]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120127/0fed9ec6/attachment.html 


More information about the jboss-user mailing list