`
jeffen2006
  • 浏览: 255107 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

请教spring+axis出错原因。

阅读更多
开发配置完成后发布到weblogic上去后,输入http://10.1.4.88:7001/vvgoo_ysk/axis
出现页面。
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.

分享到:
评论
1 楼 jeffen2006 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了。

相关推荐

Global site tag (gtag.js) - Google Analytics