I'm using the code that is described in the User's Guide for putting a message
service on Axis and then I call it with the TestMsg.java program.  The basic
program works fine.  However, I want to add the following to the
MessageService.java program:

public class MessageService {
    /**
     * Service method, which simply echoes back any XML it receives.
     *
     * @param elems an array of DOM Elements, one for each SOAP body element
     * @return an array of DOM Elements to be sent in the response body
     */
    public Element[] echoElements(Element [] elems) {
        return elems;
    }

    //stubbed out for testing purposes
    public void checkEnvelope (SOAPEnvelope req, SOAPEnvelope resp) {
      return;
    }
}

I *know* that I need to specify which method to call, but I can't figure out the
correct way to do it.

Suggestions?  So far I keep getting "Couldnt find an appropriate operation for
XML QName {0}" for my error.


--
David Orriss Jr.
[EMAIL PROTECTED]
http://www.davenet.net
Want ICQ/AIM/MSN ID's? Just Ask...
Linux - Chicken Soup for the Unix Soul


Reply via email to