You implement a Web Service method as a normal Java method.
The following example, shows the implementation of Web service method GetQuote.
For a Web Service method in a JAXM Web Service, you have to implement the onMessage() method. You have to process the input SOAP message, generate an output SOAP message and return the output message.