我有一個SOAP服務,我正在JBoss EAP 6.1服務器上進行部署。我可以看到服務已經正確註冊,當我用WSDL訪問端點URL時,我也可以看到WSDL。但是當我點擊終端時,出現HTTP 500錯誤,並且在控制檯上,我可以看到下面的錯誤消息。{XXX}/Service的PhaseInterceptorChain攔截器已拋出異常,現在展開
12:41:26921 ERROR [org.jboss.as](Controller引導螺紋)JBAS015875:JBoss的EAP 6.2.0.GA(AS 7.3.0.Final-紅帽-14)開始(有錯誤)在15986ms - 699個服務中啓動633個(1個服務失敗或缺失依賴關係,61個服務是被動或按需服務) 12:41:39,044警告[org.apache.cxf.phase.PhaseInterceptorChain](http-localhost/127.0。 0.1:8080-1)Interceptor for {http://webservice.xyz.abc.com/} MyService已拋出異常,現在展開:java.lang.NullPointerException at org.apache.cxf.service.factory.SimpleMethodDispatcher.getMethod(SimpleMethodDispatcher.java:97)[cxf-rt -core.jar:2.6.4] at org.jboss.wsf.stack.cxf.JBossWSInvoker.invoke(JBossWSInvoker.java:129)[jbossws-cxf-server.jar:4.1.1.Final] at org.apache.cxf.interceptor.ServiceInvokerInterceptor $ 1.run(ServiceInvokerInterceptor.java:57)[cxf-api.jar:2.6.4] at java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java: 471)[rt.jar:1.7.0_55] at java.util.concurrent.FutureTask.run(FutureTask.java:262)[rt.jar:1.7.0_55] at org.apache.cxf.workqueue.SynchronousExecutor。執行(SynchronousExecutor.java:37)[cxf-api.jar:2.6.4] at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)[cxf-api.jar:2.6.4] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)[cxf-api.jar:2.6.4] at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121 )[cxf-api.jar:2.6.4] at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)[cxf-rt-transports-http.jar:2.6.4] at org.jboss.wsf.stack.cxf.RequestHandlerImpl .handleHttpRequest(RequestHandlerImpl.java:92)[jbossws-cxf-server.jar:4.1.1.Final] at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:143)[jbossws -cxf-server.jar:4.1.1.Final] at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:87)[jbossws-cxf-server.jar:4.1.1.Final] at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)[cxf-rt-transports-http.jar:2.6.4] at org.apache.cxf.transport.servlet.AbstractHTTPServlet .doGet(AbstractHTTPServlet.java:211)[cxf-rt-transports-http.jar:2.6.4] at javax.servlet.http.HttpServlet。服務(HttpServlet.java:734)[jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1] at org.jboss.wsf.stack.cxf .CXFServletExt.service(CXFServletExt.java:135)[jbossws-cxf-server.jar:4.1.1.Final] at org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140)[jbossws -spi-2.2.2.Final-redhat-1.jar:2.2.2.Final-redhat-1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)[jboss-servlet-api_3。 0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)[jbossweb-7.2.2 .final-redhat-1.jar:7.2.2.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)[jbossweb-7.2.2.Final-redhat- 1.jar:7.2.2.Final-redhat-1] at org.a pache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1] at org.apache.catalina.core .StandardContextValve.invoke(StandardContextValve.java:149)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1] at org.jboss.as.web.security.SecurityContextAssociationValve。 invoke(SecurityContextAssociationValve.java:169)[jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0。Final-redhat-14] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1 ] 在org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)[jbossweb-7.2.2.Final-紅帽-1.jar:7.2.2.Final-紅帽-1]在 有機apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)[jbossweb-7.2.2.Final-紅帽-1.jar:7.2.2.Final-紅帽-1]在 org.apache.catalina.connector .CoyoteAdapter.service(CoyoteAdapter.java:336)[jbossweb-7.2.2.Final-紅帽-1.jar:7.2.2.Final-紅帽-1]在 org.apache.coyote.http11.Http11Processor.process( Http11Processor.java:856)[jbossweb-7.2.2.Final-紅帽-1.jar:7.2.2.Final-紅帽-1]在 $ org.apache.coyote.http11.Http11Protocol Http11ConnectionHandler.process(Http11Protocol.java :65 3)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1] at org.apache.tomcat.util.net.JIoEndpoint $ Worker.run(JIoEndpoint.java:920 )[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1] at java.lang.Thread.run(Thread.java:745)[rt.jar:1.7.0_55 ]
任何建議嗎?