部署webservice出现以下这个错误
http://localhost:8080/OrderNotifySystem/webservice/SyncNotifySPService
<Exception>
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) /OrderNotifySystem/webservice/SyncNotifySPService at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:64) at org.apache.axis2.engine.Phase.invoke(Phase.java:333) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163) at org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:136) at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:130) at org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:824) at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:253) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:619)
</Exception>
问题类似这兄弟的一样吧:http://topic.csdn.net/u/20100629/11/31f6c684-ae79-458c-995a-1e942ca7828a.html
有碰到类似问题的麻烦给说下,谢谢了,分不够再加~只要能解决就行~
------解决方案--------------------
在服务端的机子上先测试一下服务可用吗。这两个帖子描述的都不清楚啊。
------解决方案--------------------
服务器部署时候的错误?还是客户端访问时候的错误?
服务器是使用什么发布的?aar ? 还是直接javabean ?看看aar的 service.xml文件有没有错误....或者换个最新的axis2试试看
------解决方案--------------------
就是配置文件的问题,好好检查services.xml吧,或aar的打包是否正确,类的路径是否正确,还有要看weblogic对services有什么特殊配置要求
------解决方案--------------------
你测试过没有。你先测试一下。那个webService呀。
------解决方案--------------------
我觉得是没有把axis2安装到tomcat里面去 - -悲剧,我上次装个axis2插件给弄得郁闷死,后来装上了也不能用。