File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Axis Fault: no such operation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis Fault: no such operation" Watch "Axis Fault: no such operation" New topic
Author

Axis Fault: no such operation

David Tseng
Greenhorn

Joined: Nov 01, 2007
Posts: 4
Hi,

I'm trying to do a very basic 'hello world' type web service and am getting an axis fault: no such operation:

Any help would be appreciated:

My WSDL:

My WSDD:

[ November 01, 2007: Message edited by: bossman_m5n ]
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2906
Welcome to JavaRanch ???bossman_m5n???,

Please check your private messages.


"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2906
  • The client code that that causes the fault could be helpful.
  • It would also help if you intercepted a request with Apache TCPMon and posted the contents here.

  • David Tseng
    Greenhorn

    Joined: Nov 01, 2007
    Posts: 4
    More info on the soap request and response. This is a simple request, who's input is ignored, just trying to output a string.

    Soap request


    Soap response (error of course)


    Also not sure if this helps, but when I try to hit a web service (that works) with an incorrect name, I get a similar error message but the fault code is different:
    [ November 02, 2007: Message edited by: David Tseng ]
    David Tseng
    Greenhorn

    Joined: Nov 01, 2007
    Posts: 4
    More information again, this time from TCPMon

    INPUT:


    OUTPUT:
    David Tseng
    Greenhorn

    Joined: Nov 01, 2007
    Posts: 4
    Found my bug, in the wsdd, where I define the type-mapping I used encoding-style when it should have been encodingStyle
     
     
    subject: Axis Fault: no such operation
     
    Similar Threads
    Axis Fault: Attempted to write duplicate schema element
    NullPointerException returned from webservice
    beanMapping, typeMapping in Axis 1 (1.4) in server-config.wsdd generates complexType in wsdl
    Object that contain ArrayList
    Why cannot my own Handler work?