本文介绍了例外:AXIS引擎找不到要调用的目标服务! targetService是SecurityDepositServiceImpl的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Web服务的新手,我已经使用eclipse自下而上的Java Bean服务"在现有项目中创建了一个Web服务,服务器是Tomcat 6,Spring Framework 2.5,并且未使用Maven和Ant.在我的项目中,eclipse自动将所有必需的jar包含在lib中,但是当我尝试从浏览器中调用getName()时,会出现如下错误:例外:AXIS引擎找不到要调用的目标服务! targetService是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?

推荐答案

我过去已经收到此错误.如果在URL中找不到服务名称,则会收到此错误.请记住,URL也是区分大小写的.您应该能够在浏览器中单击URL并收到如下消息:

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:

在URL中出现斜杠"YourService/"之前,我还解决了此问题!还要小心那一个!永远带我去找它.

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.

这篇关于例外:AXIS引擎找不到要调用的目标服务! targetService是SecurityDepositServiceImpl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 16:40