The moose likes Web Services and the fly likes axis : No operation name specified! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "axis : No operation name specified!" Watch "axis : No operation name specified!" New topic

axis : No operation name specified!

Stefan Geelen
Ranch Hand

Joined: Nov 19, 2001
Posts: 49
I checked the internet and there were some posts of people having the same problem but none the answer

The problem comes up with following method exposed as webservice:

public String getContextPath() {
return this.getServletContext().toString();

and defined in the services.xml as:

When genering the client stubs using wsdl2java I get following warning:

Is this normal behavior ?

Anyone some idea how to solve this ?

Stefan Geelen
Ranch Hand

Joined: Nov 19, 2001
Posts: 49
Me again,

adding a parameter to the method solves the problem, so it becomes:

I added the dummy parameter.

I get another error but that seems that the webservice cannot extend HttpService. I'll remove that one, giving me another problem that I'll discuss in another topic.
I agree. Here's the link: http://aspose.com/file-tools
subject: axis : No operation name specified!
Similar Threads
Internal Server Error :Cannot find ActionMappings or ActionFormBeans collection
Please help with wscompile warnings
Use of request.getContextPath in a JSP
Confusing SOAPFaultException
Where is my generated stub??