This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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: 2922
    
    5
Welcome to JavaRanch ???bossman_m5n???,

Please check your private messages.
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
  • 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
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Axis Fault: no such operation