xfire开发web service问题

来源:百度知道 编辑:UC知道 时间:2024/05/17 01:06:39
我做了个简单的web service 用eclipse做的? 发布以后访问
http://localhost:8090/facet0/services 产生404错误?
访问http://localhost:8090/facet0/services/HelloService 页面显示
Invalid SOAP request. 什么原因啊 不能得到 WSDL文件啊..
web.xml 应该没问题
我去tomcat看过了 发布也是正常的.你说的那路径也不行.
我每次发布好了,访问tomcat报这个
org.springframework.context.support.AbstractApplicationContext refresh
信息: No beans defined in application context [org.codehaus.xfire.transport.http.XFireConfigurableServlet$GenericWebApplicationContextX;hashCode=31331631]
org.springframework.core.CollectionFactory <clinit>
信息: JDK 1.4+ collections available
org.springframework.core.CollectionFactory <clinit>
解决了我加分啊... 谢谢各位大哥了 字数太多发不全了

404的问题吗?你看看控制台 啊有没有报错啊!
有的时候404错误吗,控制台里是没有错的 ,往往就是一个小小的问题而已!
自己再看看啊!

web.xml配置好了么?
试试这样访问 http://localhost:8090/facet0/services/

我用的是MyEclipse 5.5 ,XFire做,没有问题。