[
https://issues.jboss.org/browse/JBWS-2930?page=com.atlassian.jira.plugin....
]
Darran Lofthouse updated JBWS-2930:
-----------------------------------
Fix Version/s: jbossws-native-4.0
(was: jbossws-native-3.4.1)
IllegalArgumentException: Illegal null argument:ns - Raised
initialising Service referencing a WSDL which imports a xsd with no namespace
-----------------------------------------------------------------------------------------------------------------------------------------
Key: JBWS-2930
URL:
https://issues.jboss.org/browse/JBWS-2930
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-3.2.2
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Fix For: jbossws-native-4.0
The following exception is thrown when a Service is initialised using a WSDL that imports
a schema with no namespace: -
java.lang.IllegalArgumentException: Illegal null argument:ns
at
org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel.createNamespaceItemIfNotExistent(JBossXSModel.java:511)
at
org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel.addXSElementDeclaration(JBossXSModel.java:351)
at
org.jboss.ws.metadata.wsdl.xmlschema.WSSchemaUtils.copyXSModel(WSSchemaUtils.java:707)
at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:202)
In addition to this deploying an endpoint with this style of import results in the
following error: -
DEPLOYMENTS IN ERROR:
Deployment
"vfszip:/home/darranl/src/JBoss_5_1_0_GA/build/output/jboss-5.1.0.GA/server/default/deploy/jaxws-jbws2930.war/"
is in error due to the following reason(s): java.lang.NullPointerException
at
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
at
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira