[ http://issues.apache.org/jira/browse/AXIS2-1320?page=all ]
Deepal Jayasinghe updated AXIS2-1320:
-------------------------------------
Attachment: test.xml
> Service throws error.. fault "null" with if a service method throws Axis Fault
> ------------------------------------------------------------------------------
>
> Key: AXIS2-1320
> URL: http://issues.apache.org/jira/browse/AXIS2-1320
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: rpc
> Affects Versions: nightly
> Environment: Windows Xp
> Jboss4-04GA
> Axis2 Nightly of Oct-05-2006
> Reporter: vikas charak
> Assigned To: Deepal Jayasinghe
> Attachments: test.xml, TestService.wsdl
>
>
> Hi,
> I have a method which throws Axis fault and that method is exposed as a
> service method. See below
> public class TestService {
> public String getName(String ID) throws AxisFault {
> return "Testing";
> }
> }
> While deploying the service, I see the following error on my Jboss console
> 13:28:29,288 ERROR [DeploymentEngine] Invalid service TestService.aar due to
> fult "null" not found in the Operation getName; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation
> get
> ame; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation
> get
> ame; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation
> get
> ame; nested exception is:
> org.apache.axis2.deployment.DeploymentException: fault "null" not
> found
> in the Operation getName; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation
> get
> ame; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation
> get
> ame; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation
> get
> ame
> org.apache.axis2.deployment.DeploymentException: fault "null" not found in the
> peration getName; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation
> get
> ame; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation
> get
> ame; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation
> get
> ame; nested exception is:
> org.apache.axis2.deployment.DeploymentException: fault "null" not
> found
> in the Operation getName; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation
> get
> ame; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation
> get
> ame; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation
> get
> ame
> at
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSD
> s(ArchiveReader.java:347)
> at
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngi
> e.java:511)
> at
> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfo
> ist.java:200)
> at
> org.apache.axis2.deployment.RepositoryListener.update(RepositoryList
> ner.java:209)
> at
> org.apache.axis2.deployment.RepositoryListener.checkServices(Reposit
> ryListener.java:156)
> at
> org.apache.axis2.deployment.DeploymentEngine.loadServices(Deployment
> ngine.java:84)
> at
> org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(Wa
> BasedAxisConfigurator.java:249)
> at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigura
> ionContext(ConfigurationContextFactory.java:72)
> at
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisSe
> vlet.java:366)
> at
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:30
> )
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper
> java:1105)
> at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:9
> 2)
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardConte
> t.java:3917)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:
> 201)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBas
> .java:759)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:7
> 9)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java
> 503)
> at
> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:
> 64)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> at
> org.apache.catalina.core.StandardContext.init(StandardContext.java:5
> 16)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java
> 503)
> at
> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:
> 64)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> at
> org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(Tomcat
> eployer.java:297)
> at
> org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer
> java:103)
> at
> org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371
> at org.jboss.web.WebModule.startModule(WebModule.java:83)
> at org.jboss.web.WebModule.startService(WebModule.java:61)
> at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBean
> upport.java:289)
> at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceM
> eanSupport.java:245)
> at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatc
> er.java:155)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker
> java:264)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> at
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceContro
> ler.java:978)
> at $Proxy0.start(Unknown Source)
> at
> org.jboss.system.ServiceController.start(ServiceController.java:417)
> at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatc
> er.java:155)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker
> java:264)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
> at $Proxy40.start(Unknown Source)
> at
> org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:4
> 6)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatc
> er.java:155)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> at
> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercep
> or.java:133)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at
> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(Model
> BeanOperationInterceptor.java:142)
> at
> org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicIntercepto
> .java:97)
> at
> org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Intercept
> rServiceMBeanSupport.java:238)
> at
> org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java
> 117)
> at
> org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor
> start(SubDeployerInterceptorSupport.java:188)
> at
> org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterc
> ptor.java:95)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker
> java:264)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
> at $Proxy41.start(Unknown Source)
> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
> at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatc
> er.java:155)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> at
> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercep
> or.java:133)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at
> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(Model
> BeanOperationInterceptor.java:142)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker
> java:264)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
> at $Proxy6.deploy(Unknown Source)
> at
> org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeployme
> tScanner.java:421)
> at
> org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeployment
> canner.java:634)
> at
> org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread
> doScan(AbstractDeploymentScanner.java:263)
> at
> org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(
> bstractDeploymentScanner.java:336)
> at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBean
> upport.java:289)
> at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceM
> eanSupport.java:245)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatc
> er.java:155)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker
> java:264)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> at
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceContro
> ler.java:978)
> at $Proxy0.start(Unknown Source)
> at
> org.jboss.system.ServiceController.start(ServiceController.java:417)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatc
> er.java:155)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker
> java:264)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
> at $Proxy4.start(Unknown Source)
> at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatc
> er.java:155)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> at
> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercep
> or.java:133)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at
> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(Model
> BeanOperationInterceptor.java:142)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker
> java:264)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
> at $Proxy5.deploy(Unknown Source)
> at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
> at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
> at org.jboss.Main.boot(Main.java:200)
> at org.jboss.Main$1.run(Main.java:464)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: org.apache.axis2.deployment.DeploymentException: fault "null" not
> fo
> nd in the Operation getName; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation
> get
> ame; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation
> get
> ame; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation
> get
> ame
> at
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSD
> File(ArchiveReader.java:202)
> at
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSD
> s(ArchiveReader.java:327)
> ... 148 more
> Caused by: org.apache.axis2.AxisFault: fault "null" not found in the Operation
> etName; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation
> get
> ame
> at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServ
> ce(WSDL11ToAxisServiceBuilder.java:247)
> at
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSD
> File(ArchiveReader.java:200)
> ... 149 more
> Caused by: org.apache.axis2.AxisFault: fault "null" not found in the Operation
> etName
> at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processBindi
> g(WSDL11ToAxisServiceBuilder.java:515)
> at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServ
> ce(WSDL11ToAxisServiceBuilder.java:241)
> ... 150 more
> 13:28:29,929 INFO [DeploymentEngine] Deploying Web service version.aar
> 13:28:30,139 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console,
> warUrl=.../de
> loy/jmx-console.war/
> 13:28:30,320 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on
> http-0.0.0.
> -8080
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]