[
https://jira.jboss.org/jira/browse/JBWS-2633?page=com.atlassian.jira.plug...
]
Darran Lofthouse updated JBWS-2633:
-----------------------------------
Workaround Description:
If the namespace problem only affects the types and not the service or SEI a JAXB
customisation can be used to map the schema to a different package: -
e.g.
<jxb:bindings version="1.0"
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<jxb:bindings schemaLocation="PersonWSService.wsdl#types?schema1">
<jxb:schemaBindings>
<jxb:package name="com.test.customized.a"/>
</jxb:schemaBindings>
</jxb:bindings>
</jxb:bindings>
wscompile fails to create valid package name
--------------------------------------------
Key: JBWS-2633
URL:
https://jira.jboss.org/jira/browse/JBWS-2633
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-3.1.1
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Fix For: jbossws-native-3.1.2
This issue requires a change to JAXB as identified in: -
https://jax-ws.dev.java.net/issues/show_bug.cgi?id=599
The namespace 'http://examples/Public/ejb3/' is mapped to
'examples.public.ejb3' which causes wscompile to fail with the following error: -
[ERROR] The package name 'examples.public.ejb3' used for this schema is not a
valid package name.
line 4 of file:ExampleService.wsdl
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira