0 Replies Latest reply on Aug 17, 2012 1:45 PM by Bruno Saldanha

    Problem to call a WS operation inside JBoss 4.2.2.GA (not problem outside JBoss)

    Bruno Saldanha Newbie

      Hi,

       

      I have a problem to call a WS operation inside JBoss 4.2.2.GA. It works if the same operation is called outside JBoss (in a jar application, for example).

       

      The error message is:

       

      javax.xml.ws.WebServiceException: org.jboss.ws.WSException: Cannot find child element: {urn:sap-com:document:sap:rfc:functions}ZMEDF_MECE_DADOS_CADASTRAIS.Response

       

      The complete stacktrace is below. Thanks for help, I really have tried everything I know.

       

      javax.xml.ws.WebServiceException: org.jboss.ws.WSException: Cannot find child element: {urn:sap-com:document:sap:rfc:functions}ZMEDF_MECE_DADOS_CADASTRAIS.Response

              at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:317)

              at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:255)

              at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)

              at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)

              at $Proxy339.dadosCadastraisRequestMI(Unknown Source)

              at br.com.senergy.mece.processo.integracao.pav.sap.ControladorIntegracaoDadosCadastrais.obterDadosCadastraisAtualizados(ControladorIntegracaoDadosCadast

      rais.java:1082)

              at br.com.senergy.mece.processo.integracao.pav.sap.ControladorIntegracaoDadosCadastrais.atualizarDadosCadastrais(ControladorIntegracaoDadosCadastrais.ja

      va:215)

              at br.com.senergy.mece.processo.integracao.pav.sap.ControladorIntegracaoDadosCadastrais.atualizarDadosCadastraisPeloPontoMedicao(ControladorIntegracaoDa

      dosCadastrais.java:197)

              at br.com.senergy.mece.controle.cadastro.concessionaria.ControladorAtualizacaoDadosCadastraisConcessionaria.atualizarPontoMedicaoConcessionaria(Controla

      dorAtualizacaoDadosCadastraisConcessionaria.java:26)

              at br.com.senergy.mece.facade.FacadeArvoreBean.atualizarPontoMedicaoConcessionaria(FacadeArvoreBean.java:235)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              at org.jboss.invocation.Invocation.performCall(Invocation.java:359)

              at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)

              at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)

              at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)

              at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)

              at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)

              at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)

              at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)

              at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)

              at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)

              at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)

              at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)

              at org.jboss.ejb.Container.invoke(Container.java:960)

              at sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)

              at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)

              at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)

              at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)

              at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)

              at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)

              at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)

              at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)

              at $Proxy255.atualizarPontoMedicaoConcessionaria(Unknown Source)

              at br.com.senergy.mece.web.action.arvore.ArvorePontoMedicaoAction.abrirDetalhePontoMedicao(ArvorePontoMedicaoAction.java:63)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)

              at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)

              at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)

              at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)

              at br.com.senergy.mece.web.ControladorAction.process(ControladorAction.java:35)

              at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at br.com.senergy.mece.web.filter.NoCacheFilter.doFilter(NoCacheFilter.java:43)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at br.com.senergy.mece.web.filter.Trim.doFilter(Trim.java:31)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

              at java.lang.Thread.run(Thread.java:662)

      Caused by: org.jboss.ws.WSException: Cannot find child element: {urn:sap-com:document:sap:rfc:functions}ZMEDF_MECE_DADOS_CADASTRAIS.Response

              at org.jboss.ws.core.CommonSOAPBinding.getParameterFromMessage(CommonSOAPBinding.java:891)

              at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:608)

              at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:371)

              at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)

              ... 80 more