exception: The AXIS engine could not find a target service to invoke! targetService is SecurityDepositServiceImpl

匿名 (未验证) 提交于 2019-12-03 02:52:02

问题:

I am new to web-service and I have created one web service in my existing project using eclipse 'Bottom Up java Bean service', server is Tomcat 6, Spring Framework 2.5, and not using Maven and Ant. In my project eclipse automatically included all required jars in lib but when I try to invoke getName() from browser it gives error like: exception: The AXIS engine could not find a target service to invoke! targetService is SecurityDepositServiceImpl So please suggest me what should I do to run my service?

回答1:

I have recieved this error in the past. You will get this error if it cannot find the service name in the URL. Keep in mind the URL is also case-sensative. You should be able to hit the URL in the browser and recieve a message like so:

YourWebServiceName
Hi there, this is an AXIS service!
Perhaps there will be a form for invoking the service here...

I also fixed this issue before when there was a trailing slash "YourService/" in the URL! Watch out for that one too! Took me FOREVER to find it.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!