在jboss-5.1.0 GA服务器中使用soap webservice时出现org.jboss.util.NotImplementedException

时间:2013-03-13 13:19:51

标签: web-services soap cxf jboss5.x ws-security

我正在测试我的webservice客户端代码,它使用了一个soap webservice,aslo需要ws-security身份验证。我使用了apache cxf 2.3.0,wss4j 1.5.9,apache-cxf-rt-security 2.3.0 jars。但是,当我的代码部署在jboss-5.1.0 GA中时,我得到以下异常。当我在jetty服务器上测试它时工作正常。任何帮助都非常感谢。

下面的堆栈跟踪

  

org.jboss.util.NotImplementedException       在org.jboss.ws.core.soap.SOAPPartImpl.appendChild(SOAPPartImpl.java:298)       at org.apache.cxf.staxutils.W3CDOMStreamWriter.setChild(W3CDOMStreamWriter.java:114)       在org.apache.cxf.staxutils.W3CDOMStreamWriter.newChild(W3CDOMStreamWriter.java:104)       at org.apache.cxf.staxutils.W3CDOMStreamWriter.writeStartElement(W3CDOMStreamWriter.java:132)       在org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.writeSoapEnvelopeStart(SoapOutInterceptor.java:122)       at org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.handleMessage(SoapOutInterceptor.java:81)       在org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.handleMessage(SoapOutInterceptor.java:61)       在org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:247)       在org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516)       在org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)       在org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265)       在org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)       在org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)       在$ Proxy328.documentVerificatieSysteem(未知来源)       at com.experian.nextgen.nl.services.reporting.helper.RDCWebserviceHelper.getRDCResult(RDCWebserviceHelper.java:159)       在com.experian.nextgen.nl.facades.impl.RDCWSFacadeService.invoke(RDCWSFacadeService.java:57)       在com.experian.nextgen.nl.services.jbpm.tasks.ThirdPartyRDCSearchTask.invoke(ThirdPartyRDCSearchTask.java:70)       在com.experian.nextgen.core.services.jbpm.tasks.NGAbstractJbpmTask.execute(NGAbstractJbpmTask.java:129)       在org.jbpm.pvm.internal.wire.usercode.UserCodeActivityBehaviour.execute(UserCodeActivityBehaviour.java:42)       at org.jbpm.pvm.internal.model.op.ExecuteActivity.perform(ExecuteActivity.java:60)       at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:672)       在org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:632)       在org.jbpm.pvm.internal.model.ExecutionImpl.start(ExecutionImpl.java:217)       at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:63)       at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:36)       在org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)       在org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:50)       在org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)       在org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)       在org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:56)       在org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)       at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.java:71)       at com.experian.nextgen.core.services.jbpm.impl.NGGenericJbpmServiceImpl.run(NGGenericJbpmServiceImpl.java:71)       在com.experian.nextgen.nl.services.eidcheck.impl.EidCheckService.getEidCheckReport(EidCheckService.java:42)       at com.experian.nextgen.nl.services.webservices.autotrace.impl.AutoTraceWSImpl.getEidCheckReport(AutoTraceWSImpl.java:951)       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)       在java.lang.reflect.Method.invoke(Method.java:597)       在org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)       在org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)       在org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:60)       在org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)       在org.apache.cxf.interceptor.ServiceInvokerInterceptor $ 1.run(ServiceInvokerInterceptor.java:58)       at java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:441)       at java.util.concurrent.FutureTask $ Sync.innerRun(FutureTask.java:303)       在java.util.concurrent.FutureTask.run(FutureTask.java:138)       在org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)       at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)       在org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:247)       at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)       在org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:97)       在org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:458)       在org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:185)       在org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:148)       at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)       at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103)       在javax.servlet.http.HttpServlet.service(HttpServlet.java:637)       在org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)       在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)       在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)       在org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)       在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)       在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)       在org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)       在org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)       在org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)       at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)       at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)       在org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)       在org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)       在org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)       在org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)       在org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)       在org.apache.coyote.http11.Http11Protocol $ Http11ConnectionHandler.process(Http11Protocol.java:598)       在org.apache.tomcat.util.net.JIoEndpoint $ Worker.run(JIoEndpoint.java:447)       在java.lang.Thread.run(Thread.java:619)

0 个答案:

没有答案