请教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.
找到原因了,我设置web.xml的时候 AxisServlet /axis/ 而spring+axis的wsdl是去/services下找的。 将上面改成 AxisServlet /services/ 同时访问路径也相应地变为 http://10.1.4.88:7001/vvgoo_ysk/services
就ok了。