Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 521
Balasaheb Avatar asked Jul 11 '11 06:07

Balasaheb


1 Answers

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.

like image 124
pixelbobby Avatar answered Sep 30 '22 18:09

pixelbobby