[ 
http://issues.apache.org/jira/browse/AXIS2-623?page=comments#action_12376522 ] 

Davanum Srinivas commented on AXIS2-623:
----------------------------------------

by fixing the build.xml i was able to get past the problem with finding the 
referenced xsd's...Now hitting the next problem:

- Invalid service  AccountServices.aar due to WSDLException (at 
/wsdl:definitions/wsdl:message[3]/wsdl:part): faultCode=UNBOUND_PREFIX: Unable 
to determine namespace of 'null:BusinessException'.; nested exception is:
        WSDLException (at /wsdl:definitions/wsdl:message[3]/wsdl:part): 
faultCode=UNBOUND_PREFIX: Unable to determine namespace of 
'null:BusinessException'.: ; nested exception is:
        org.apache.axis2.AxisFault: WSDLException (at 
/wsdl:definitions/wsdl:message[3]/wsdl:part): faultCode=UNBOUND_PREFIX: Unable 
to determine namespace of 'null:BusinessException'.; nested exception is:
        WSDLException (at /wsdl:definitions/wsdl:message[3]/wsdl:part): 
faultCode=UNBOUND_PREFIX: Unable to determine namespace of 
'null:BusinessException'.: ; nested exception is:
        org.apache.axis2.deployment.DeploymentException: WSDLException (at 
/wsdl:definitions/wsdl:message[3]/wsdl:part): faultCode=UNBOUND_PREFIX: Unable 
to determine namespace of 'null:BusinessException'.; nested exception is:
        WSDLException (at /wsdl:definitions/wsdl:message[3]/wsdl:part): 
faultCode=UNBOUND_PREFIX: Unable to determine namespace of 
'null:BusinessException'.: ; nested exception is:
        org.apache.axis2.AxisFault: WSDLException (at 
/wsdl:definitions/wsdl:message[3]/wsdl:part): faultCode=UNBOUND_PREFIX: Unable 
to determine namespace of 'null:BusinessException'.; nested exception is:
        WSDLException (at /wsdl:definitions/wsdl:message[3]/wsdl:part): 
faultCode=UNBOUND_PREFIX: Unable to determine namespace of 
'null:BusinessException'.:
org.apache.axis2.deployment.DeploymentException: WSDLException (at 
/wsdl:definitions/wsdl:message[3]/wsdl:part): faultCode=UNBOUND_PREFIX: Unable 
to determine namespace of 'null:BusinessException'.; nested exception is:
        WSDLException (at /wsdl:definitions/wsdl:message[3]/wsdl:part): 
faultCode=UNBOUND_PREFIX: Unable to determine namespace of 
'null:BusinessException'.: ; nested exception is:
        org.apache.axis2.AxisFault: WSDLException (at 
/wsdl:definitions/wsdl:message[3]/wsdl:part): faultCode=UNBOUND_PREFIX: Unable 
to determine namespace of 'null:BusinessException'.; nested exception is:
        WSDLException (at /wsdl:definitions/wsdl:message[3]/wsdl:part): 
faultCode=UNBOUND_PREFIX: Unable to determine namespace of 
'null:BusinessException'.: ; nested exception is:
        org.apache.axis2.deployment.DeploymentException: WSDLException (at 
/wsdl:definitions/wsdl:message[3]/wsdl:part): faultCode=UNBOUND_PREFIX: Unable 
to determine namespace of 'null:BusinessException'.; nested exception is:
        WSDLException (at /wsdl:definitions/wsdl:message[3]/wsdl:part): 
faultCode=UNBOUND_PREFIX: Unable to determine namespace of 
'null:BusinessException'.: ; nested exception is:
        org.apache.axis2.AxisFault: WSDLException (at 
/wsdl:definitions/wsdl:message[3]/wsdl:part): faultCode=UNBOUND_PREFIX: Unable 
to determine namespace of 'null:BusinessException'.; nested exception is:
        WSDLException (at /wsdl:definitions/wsdl:message[3]/wsdl:part): 
faultCode=UNBOUND_PREFIX: Unable to determine namespace of 
'null:BusinessException'.:
        at 
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:273)
        at 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:604)
        at 
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:195)
        at 
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:207)
        at 
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:155)
        at 
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:91)
        at 
org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:142)
        at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:39)
        at 
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:213)
        at 
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:182)
        at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
        at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
        at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
        at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
        at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
        at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
        at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
        at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
        at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
Caused by: org.apache.axis2.deployment.DeploymentException: WSDLException (at 
/wsdl:definitions/wsdl:message[3]/wsdl:part): faultCode=UNBOUND_PREFIX: Unable 
to determine namespace of 'null:BusinessException'.; nested exception is:
        WSDLException (at /wsdl:definitions/wsdl:message[3]/wsdl:part): 
faultCode=UNBOUND_PREFIX: Unable to determine namespace of 
'null:BusinessException'.: ; nested exception is:
        org.apache.axis2.AxisFault: WSDLException (at 
/wsdl:definitions/wsdl:message[3]/wsdl:part): faultCode=UNBOUND_PREFIX: Unable 
to determine namespace of 'null:BusinessException'.; nested exception is:
        WSDLException (at /wsdl:definitions/wsdl:message[3]/wsdl:part): 
faultCode=UNBOUND_PREFIX: Unable to determine namespace of 
'null:BusinessException'.:
        at 
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:194)
        at 
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:261)
        ... 29 more
Caused by: org.apache.axis2.AxisFault: WSDLException (at 
/wsdl:definitions/wsdl:message[3]/wsdl:part): faultCode=UNBOUND_PREFIX: Unable 
to determine namespace of 'null:BusinessException'.; nested exception is:
        WSDLException (at /wsdl:definitions/wsdl:message[3]/wsdl:part): 
faultCode=UNBOUND_PREFIX: Unable to determine namespace of 
'null:BusinessException'.:
        at 
org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:242)
        at 
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:192)
        ... 30 more
Caused by: WSDLException (at /wsdl:definitions/wsdl:message[3]/wsdl:part): 
faultCode=UNBOUND_PREFIX: Unable to determine namespace of 
'null:BusinessException'.:
        at 
com.ibm.wsdl.util.xml.DOMUtils.getQName(Ljava.lang.String;Lorg.w3c.dom.Element;Ljavax.wsdl.Definition;)Ljavax.xml.namespace.QName;(Unknown
 Source)
        at 
com.ibm.wsdl.util.xml.DOMUtils.getQualifiedAttributeValue(Lorg.w3c.dom.Element;Ljava.lang.String;Ljava.lang.String;ZLjavax.wsdl.Definition;)Ljavax.xml.namespace.QName;(Unknown
 Source)
        at 
com.ibm.wsdl.xml.WSDLReaderImpl.getQualifiedAttributeValue(Lorg.w3c.dom.Element;Ljava.lang.String;Ljava.lang.String;Ljavax.wsdl.Definition;)Ljavax.xml.namespace.QName;(Unknown
 Source)
        at 
com.ibm.wsdl.xml.WSDLReaderImpl.parsePart(Lorg.w3c.dom.Element;Ljavax.wsdl.Definition;)Ljavax.wsdl.Part;(Unknown
 Source)
        at 
com.ibm.wsdl.xml.WSDLReaderImpl.parseMessage(Lorg.w3c.dom.Element;Ljavax.wsdl.Definition;)Ljavax.wsdl.Message;(Unknown
 Source)
        at 
com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Ljava.lang.String;Lorg.w3c.dom.Element;Ljava.util.Map;)Ljavax.wsdl.Definition;(Unknown
 Source)
        at 
com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Ljava.lang.String;Lorg.w3c.dom.Element;Ljava.util.Map;)Ljavax.wsdl.Definition;(Unknown
 Source)
        at 
com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Ljava.lang.String;Lorg.w3c.dom.Element;)Ljavax.wsdl.Definition;(Unknown
 Source)
        at 
com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Ljava.lang.String;Lorg.w3c.dom.Document;)Ljavax.wsdl.Definition;(Unknown
 Source)
        at 
com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Ljava.lang.String;Lorg.xml.sax.InputSource;)Ljavax.wsdl.Definition;(Unknown
 Source)
        at 
com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Ljavax.wsdl.xml.WSDLLocator;)Ljavax.wsdl.Definition;(Unknown
 Source)
        at 
org.apache.axis2.description.WSDL2AxisServiceBuilder.readInTheWSDLFile(WSDL2AxisServiceBuilder.java:956)
        at 
org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:199)
        at 
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:192)
        at 
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:261)
        at 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:604)
        at 
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:195)
        at 
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:207)
        at 
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:155)
        at 
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:91)
        at 
org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:142)
        at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:39)
        at 
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:213)
        at 
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:182)
        at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
        at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)



> (1.0 RC3) Unable to locate with a locator the schema referenced at 'xsd1.xsd' 
> ...
> ---------------------------------------------------------------------------------
>
>          Key: AXIS2-623
>          URL: http://issues.apache.org/jira/browse/AXIS2-623
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>  Environment: Windows 2000 Professional, JDK 1.4, Axis2 1.0 RC3
>     Reporter: Ali Sadik Kumlali
>  Attachments: codegen.bat, wsdl.zip
>
> I'm getting the following error when deploying my service on to 1.0RC3
> Axis2.war. There was no such problem with 0.95 release. 
> I noticed that WSDL2Java generated xsd0.xsd, xsd1.xsd, xsd2.xsd and
> AccountServices.wsdl files into repository folder. I guess, this is a
> new feature, since those files were not generated in 0.95 release. By
> the way, these files are also resides in XBeans-packaged.jar.
> P.S.: I also tried it with SVN head..
> ----------------------------------------------
> - Deploying module : soapmonitor
> - Deploying module : addressing
> - Deploying module : security
> Retrieving document at ''.
> Retrieving schema at 'xsd1.xsd', relative to ''.
> - Invalid service  AccountServices.aar due to WSDLException (at
> /wsdl:definitions/wsdl:types/xs:schema[1]): faultCode=OTHER_ERROR:
> Unable to locate with a locator the schema referenced at 'xsd1.xsd'
> relative to document base ''; nested exception is: 
>       WSDLException (at /wsdl:definitions/wsdl:types/xs:schema[1]):
> faultCode=OTHER_ERROR: Unable to locate with a locator the schema
> referenced at 'xsd1.xsd' relative to document base '': ; nested
> exception is: 
>       org.apache.axis2.AxisFault: WSDLException (at
> /wsdl:definitions/wsdl:types/xs:schema[1]): faultCode=OTHER_ERROR:
> Unable to locate with a locator the schema referenced at 'xsd1.xsd'
> relative to document base ''; nested exception is: 
>       WSDLException (at /wsdl:definitions/wsdl:types/xs:schema[1]):
> faultCode=OTHER_ERROR: Unable to locate with a locator the schema
> referenced at 'xsd1.xsd' relative to document base '': ; nested
> exception is: 
>       org.apache.axis2.deployment.DeploymentException: WSDLException (at
> /wsdl:definitions/wsdl:types/xs:schema[1]): faultCode=OTHER_ERROR:
> Unable to locate with a locator the schema referenced at 'xsd1.xsd'
> relative to document base ''; nested exception is: 
>       WSDLException (at /wsdl:definitions/wsdl:types/xs:schema[1]):
> faultCode=OTHER_ERROR: Unable to locate with a locator the schema
> referenced at 'xsd1.xsd' relative to document base '': ; nested
> exception is: 
>       org.apache.axis2.AxisFault: WSDLException (at
> /wsdl:definitions/wsdl:types/xs:schema[1]): faultCode=OTHER_ERROR:
> Unable to locate with a locator the schema referenced at 'xsd1.xsd'
> relative to document base ''; nested exception is: 
>       WSDLException (at /wsdl:definitions/wsdl:types/xs:schema[1]):
> faultCode=OTHER_ERROR: Unable to locate with a locator the schema
> referenced at 'xsd1.xsd' relative to document base '': 
> org.apache.axis2.deployment.DeploymentException: WSDLException (at
> /wsdl:definitions/wsdl:types/xs:schema[1]): faultCode=OTHER_ERROR:
> Unable to locate with a locator the schema referenced at 'xsd1.xsd'
> relative to document base ''; nested exception is: 
>       WSDLException (at /wsdl:definitions/wsdl:types/xs:schema[1]):
> faultCode=OTHER_ERROR: Unable to locate with a locator the schema
> referenced at 'xsd1.xsd' relative to document base '': ; nested
> exception is: 
>       org.apache.axis2.AxisFault: WSDLException (at
> /wsdl:definitions/wsdl:types/xs:schema[1]): faultCode=OTHER_ERROR:
> Unable to locate with a locator the schema referenced at 'xsd1.xsd'
> relative to document base ''; nested exception is: 
>       WSDLException (at /wsdl:definitions/wsdl:types/xs:schema[1]):
> faultCode=OTHER_ERROR: Unable to locate with a locator the schema
> referenced at 'xsd1.xsd' relative to document base '': ; nested
> exception is: 
>       org.apache.axis2.deployment.DeploymentException: WSDLException (at
> /wsdl:definitions/wsdl:types/xs:schema[1]): faultCode=OTHER_ERROR:
> Unable to locate with a locator the schema referenced at 'xsd1.xsd'
> relative to document base ''; nested exception is: 
>       WSDLException (at /wsdl:definitions/wsdl:types/xs:schema[1]):
> faultCode=OTHER_ERROR: Unable to locate with a locator the schema
> referenced at 'xsd1.xsd' relative to document base '': ; nested
> exception is: 
>       org.apache.axis2.AxisFault: WSDLException (at
> /wsdl:definitions/wsdl:types/xs:schema[1]): faultCode=OTHER_ERROR:
> Unable to locate with a locator the schema referenced at 'xsd1.xsd'
> relative to document base ''; nested exception is: 
>       WSDLException (at /wsdl:definitions/wsdl:types/xs:schema[1]):
> faultCode=OTHER_ERROR: Unable to locate with a locator the schema
> referenced at 'xsd1.xsd' relative to document base '': 
>       at
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:271)
>       at
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:599)
>       at
> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:195)
>       at
> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:207)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to