[
http://jira.jboss.com/jira/browse/JBWS-1080?page=all ]
Darran Lofthouse updated JBWS-1080:
-----------------------------------
Workaround Description: (was: Add the namespace element to the wstools
configuration, this is only used to define the namespace of the SEI and the namespace of
the types in the same package - types in different packages will have their namespace
automatically generated.)
Workaround: (was: [Workaround Exists])
The namespaces element is optional in the java-wsdl element, however
if it is missing generation fails.
-------------------------------------------------------------------------------------------------------
Key: JBWS-1080
URL:
http://jira.jboss.com/jira/browse/JBWS-1080
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: wstools
Affects Versions: jbossws-1.0.0, jbossws-1.0.1
Reporter: Darran Lofthouse
Assigned To: Darran Lofthouse
Fix For: jbossws-1.0.4
The namespaces element is optional in the java-wsdl element, however if it is missing
generation fails.
Further comments in the schema also suggest that it should be optional and if missing the
namespace automatically generated based on the package of the SEI and the types.
The following error is shown when missing: -
[Fatal Error] :1:266: The value of the attribute
"prefix="xmlns",localpart="ns1",rawname="xmlns:ns1""
is invalid. Prefixed namespace bindings may not be empty.
[Fatal Error] :1:277: The value of the attribute
"prefix="xmlns",localpart="tns",rawname="xmlns:tns""
is invalid. Prefixed namespace bindings may not be empty.
Exception in thread "main" org.jboss.ws.WSException: Cannot generate wsdl from:
interface com.darranl.ServiceEndpoint
at org.jboss.ws.tools.JavaToWSDL.generate(JavaToWSDL.java:348)
at
org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(ToolsHelper.java:122)
at org.jboss.ws.tools.WSTools.process(WSTools.java:132)
at org.jboss.ws.tools.WSTools.generate(WSTools.java:120)
at org.jboss.ws.tools.WSTools.main(WSTools.java:61)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira