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&...]