You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Andreas Bohnert <ab...@weberhofer.at> on 2006/11/27 13:00:36 UTC

[axis2] 0.95->1.1 service deployment error

hi,

if have just upgraded my web services from axis 0.95 to axis 1.1.
now I'm getting an exception while deploying the ws.
the QueryService.wsdl which gives the error is created by axis, so I
don't know what to do with this.

please, can someone help me with this?
thanks, andreas



12:39:31,469 ERROR [WSDL11ToAxisServiceBuilder] WSDLException:
faultCode=PARSER_ERROR: Problem parsing 'META-INF/QueryService.wsdl'.:
The prefix "wsaw" for attribute "wsaw:Action" associated with an element
type "wsdl:output" is not bound.: org.xml.sax.SAXParseException: The
prefix "wsaw" for attribute "wsaw:Action" associated with an element
type "wsdl:output" is not bound.
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.readInTheWSDLFile(WSDL11ToAxisServiceBuilder.java:1612)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.setup(WSDL11ToAxisServiceBuilder.java:270)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:181)
        at
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:215)
        at
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:306)
        at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:513)
        at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:196)
        at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:227)
        at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:174)
        at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:88)
        at
org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:252)
        at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:72)
        at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:373)
        at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:317)
        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:3915)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)
        at
org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:67)
        at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:337)
        at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
        at
org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:192)
        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.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:313)
        at
org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
        at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at
org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$533eaa5e.addContext(<generated>)
        at
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:438)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)
        at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:411)
        at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
        at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at
org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$398957d7.startConfiguration(<generated>)
        at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
        at java.lang.Thread.run(Thread.java:595)

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [axis2] 0.95->1.1 service deployment error

Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Andreas ;

Can you please send me your service aar file or the wsdl file , so that
I can try to re-create the problem and fix that.

Thanks
Deepal

>hi,
>
>if have just upgraded my web services from axis 0.95 to axis 1.1.
>now I'm getting an exception while deploying the ws.
>the QueryService.wsdl which gives the error is created by axis, so I
>don't know what to do with this.
>
>please, can someone help me with this?
>thanks, andreas
>
>
>
>12:39:31,469 ERROR [WSDL11ToAxisServiceBuilder] WSDLException:
>faultCode=PARSER_ERROR: Problem parsing 'META-INF/QueryService.wsdl'.:
>The prefix "wsaw" for attribute "wsaw:Action" associated with an element
>type "wsdl:output" is not bound.: org.xml.sax.SAXParseException: The
>prefix "wsaw" for attribute "wsaw:Action" associated with an element
>type "wsdl:output" is not bound.
>        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
>        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
>        at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source)
>        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>        at
>org.apache.axis2.description.WSDL11ToAxisServiceBuilder.readInTheWSDLFile(WSDL11ToAxisServiceBuilder.java:1612)
>        at
>org.apache.axis2.description.WSDL11ToAxisServiceBuilder.setup(WSDL11ToAxisServiceBuilder.java:270)
>        at
>org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:181)
>        at
>org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:215)
>        at
>org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:306)
>        at
>org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:513)
>        at
>org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:196)
>        at
>org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:227)
>        at
>org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:174)
>        at
>org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:88)
>        at
>org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:252)
>        at
>org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:72)
>        at
>org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:373)
>        at
>org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:317)
>        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:3915)
>        at
>org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)
>        at
>org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:67)
>        at
>org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:337)
>        at
>org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
>        at
>org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:192)
>        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.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:313)
>        at
>org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(<generated>)
>        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>        at
>org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>        at
>org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
>        at
>org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
>        at
>org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>        at
>org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>        at
>org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>        at
>org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$533eaa5e.addContext(<generated>)
>        at
>org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:438)
>        at
>org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
>        at
>org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
>        at
>org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
>        at
>org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
>        at
>org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)
>        at
>org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
>        at
>org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
>        at
>org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:411)
>        at
>org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
>        at
>org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
>        at
>org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
>        at
>org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
>        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>        at
>org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>        at
>org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
>        at
>org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
>        at
>org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>        at
>org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>        at
>org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>        at
>org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$398957d7.startConfiguration(<generated>)
>        at
>org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
>        at java.lang.Thread.run(Thread.java:595)
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>  
>

-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"




---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [axis2] 0.95->1.1 service deployment error

Posted by Stefan Lecho <st...@yahoo.com>.
Andreas Bohnert <abo <at> weberhofer.at> writes:

> 
> hi,
> 
> if have just upgraded my web services from axis 0.95 to axis 1.1.
> now I'm getting an exception while deploying the ws.
> the QueryService.wsdl which gives the error is created by axis, so I
> don't know what to do with this.
> 
> please, can someone help me with this?
> thanks, andreas
> 
> 12:39:31,469 ERROR [WSDL11ToAxisServiceBuilder] WSDLException:
> faultCode=PARSER_ERROR: Problem parsing 'META-INF/QueryService.wsdl'.:
> The prefix "wsaw" for attribute "wsaw:Action" associated with an element
> type "wsdl:output" is not bound.: org.xml.sax.SAXParseException: The
> prefix "wsaw" for attribute "wsaw:Action" associated with an element
> type "wsdl:output" is not bound.

The declaration of the namespace "wsaw" is included in the 
<wsdl:input> element, but it is missing in the <wsdl:output> 
element. Adding the namespace manually to the <wsdl:output> 
element solves this issue, but it remains a workaround and
probably a bug that should :-) be solved in Axis.

Generated: <wsdl:output message="tns:sendResponse"
wsaw:Action="http://be.belgium.fsb/ErrorInterfaceSoap/sendResponse">
</wsdl:output>

Manually modified: <wsdl:output message="tns:sendResponse"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
wsaw:Action="http://be.belgium.fsb/ErrorInterfaceSoap/sendResponse">
</wsdl:output>

Regards.




---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org