[jbossws-users] [JBossWS] - Re: schema import fails for relative schemaLocation

meghanai_99 do-not-reply at jboss.com
Wed Feb 14 14:56:09 EST 2007


Is this issue fixed? I am deplying my BPEL created using jbpm to JBoss 4.0.5 and I get following exception -

11:44:16,567 ERROR [MainDeployer] Could not create deployment: file:/D:/jboss-4.
0.5.GA/server/default/deploy/studio.war
java.lang.NullPointerException
        at org.jboss.ws.metadata.wsdl.WSDL11Reader.processOperationInput(WSDL11R
eader.java:474)
        at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPortTypeOperations(WSD
L11Reader.java:460)
        at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPortType(WSDL11Reader.
java:446)
        at org.jboss.ws.metadata.wsdl.WSDL11Reader.processBinding(WSDL11Reader.j
ava:728)
        at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPort(WSDL11Reader.java
:1071)
        at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPorts(WSDL11Reader.jav
a:1054)
        at org.jboss.ws.metadata.wsdl.WSDL11Reader.processServices(WSDL11Reader.
java:1027)
        at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reade
r.java:119)
        at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitio
nsFactory.java:145)

Looking at the JIRA issue it seems someone has raised concern when imported schema is of same namespace as my schema in wsdl. I have exactly same situation -

<xsd:schema xmlns="http://www.eclipse.org/alf/schema/EventBase/1" elementFormDefault="qualified" targetNamespace="http://www.eclipse.org/alf/schema/EventBase/1">
      <!--<xsd:include schemaLocation="ARMALFEvents.xsd" />-->
      <xsd:import schemaLocation="ARMALFEvents.xsd" namespace="http://www.eclipse.org/alf/schema/EventBase/1"/>
    </xsd:schema>

Please let me asap. I have to get this working by tomorrow.

Thank you,
Meghana

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016575#4016575

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016575



More information about the jbossws-users mailing list