File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

axis : No operation name specified!

 
Stefan Geelen
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?

Thanks
 
Stefan Geelen
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic