微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

查看Maximo Webservice相关文件的URL

在发布一个webservice后,如果访问http://localhost:9080/meaweb/services会得到异常:

 <Exception>org.apache.axis2.AxisFault: I can not find a service for this request to be serviced. Check the WSDL and the request URI at org.apache.axis2.transport.http.util.RESTUtil.dispatchAndVerify(RESTUtil.java:243) at org.apache.axis2.transport.http.util.RESTUtil.processGetRequest(RESTUtil.java:168) at org.apache.axis2.transport.http.AxisServlet$ProcessRESTRequest.processURLRequest(AxisServlet.java:780) at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:228) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1143) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:591) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748) at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handlediscrimination(HttpInboundLink.java:458) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNew@R_418_4045@ion(HttpInboundLink.java:387) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)</Exception>

 

文档应该是有错误

这个链接是不工作的http://hostname:port/meaweb/services/webservicename
应该用这个链接查看webservice的状态http://hostname:port/meaweb/es/webservicename
会得到Servlet is running. Please use HTTP POST to post data
如果webservice用了queue使用这个链接http://hostname:port/meaweb/esqueue/webservicename 
查看schema使用

http://hostname:port/meaweb/schema/service/webservicefilename.xsd 
http://hostname:port/meaweb/schema/common/mos/objectstructurefilename.xsd 
http://hostname:port/meaweb/schema/common/mbo/businessobjectfilename.xsd
http://hostname:port/meaweb/schema/common/meta/metatfilename.xsd 
查看WSDL文件 
http://hostname:port/meaweb/wsdl/webservicename.wsdl

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐