my dog learned polymorphism*
The moose likes Web Services and the fly likes The AXIS engine could not find a target service to invoke Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "The AXIS engine could not find a target service to invoke" Watch "The AXIS engine could not find a target service to invoke" New topic
Author

The AXIS engine could not find a target service to invoke

vijay saraf
Ranch Hand

Joined: Jan 08, 2005
Posts: 141
Hi All,

I stucked with Axis 1.3 (please don't ask why 1.3...) and JDK 1.5 with webshpere.
i have very basic service 'Calculator' with two operations 'add' and 'subtract'
here is my server-config.wsdd file (placed under WEB-INF directory).



and here is my wsdl file.



when i try to invoke the service with simple client i am getting following error

AxisFault
faultCode: {http://xml.apache.org/axis/}Server.NoService
faultSubcode:
faultString: The AXIS engine could not find a target service to invoke! targetService is null
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:My_Host_Name

I am failed here to figure-out the problem.
for info,
i am getting expected results when i follow the urls
http://localhost:9080/TestService/services/Calculator
as
Hi there, this is an AXIS service!
Perhaps there will be a form for invoking the service here...

but when go to http://localhost:9080/TestService/servlet/AxisServlet and click the wsdl link (in actual it is http://localhost:9080/TestService/services/Calculator?wsdl) i am getting error messgae as
AXIS error
Could not generate WSDL!
There is no SOAP service at this location

Here is my web.xml file.


Could anyone please help me to know identify the problem.


Thanks
Vijay Saraf.
vijay saraf
Ranch Hand

Joined: Jan 08, 2005
Posts: 141
Ahh....

I got the problem...
My URLMapper was missing...
here is my new server-config.wsdd file



Well...........thanks all.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The AXIS engine could not find a target service to invoke
 
Similar Threads
wstools unable to parse WSDL from Axis1.4
Problem with mapping Array String into HashMap in Axis
Empty target namespace with axis1.2
conditional axis web service - sample nowhere
de/serializers for ArrayLists