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/' ...
...
Caused by: java.io.IOException: org.xml.sax.SAXParseException: Element type "definitions" must be followed by either attribute specifications, ">" or "/>".
Thanks,
Davide