浏览 3827 次
锁定老帖子 主题:请教spring+axis出错原因。
该帖已经被评为新手帖
|
|
---|---|
作者 | 正文 |
发表时间:2007-01-09
出现页面。 And now... Some Services * AdminService (wsdl) AdminService * Version (wsdl) getVersion * YskWebservice (wsdl) 但是点击所有的(wsdl)连接,都出现404错误,是什么原因呀? Error 404--Not Found From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1: 10.4.5 404 Not Found The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent. If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address. 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2007-01-09
找到原因了,我设置web.xml的时候
<servlet-mapping> <servlet-name>AxisServlet</servlet-name> <url-pattern>/axis/*</url-pattern> </servlet-mapping> 而spring+axis的wsdl是去/services下找的。 将上面改成 <servlet-mapping> <servlet-name>AxisServlet</servlet-name> <url-pattern>/services/*</url-pattern> </servlet-mapping> 同时访问路径也相应地变为 http://10.1.4.88:7001/vvgoo_ysk/services 就ok了。 |
|
返回顶楼 | |