01: package samples.jaxrpc.hello;
02:
03: public class ServerHandler implements javax.xml.rpc.handler.Handler {
04: public ServerHandler() {
05: }
06:
07: public boolean handleRequest(
08: javax.xml.rpc.handler.MessageContext context) {
09: System.out.println("ServerHandler: In handleRequest");
10: return true;
11: }
12:
13: public boolean handleResponse(
14: javax.xml.rpc.handler.MessageContext context) {
15: System.out.println("ServerHandler: In handleResponse");
16: return true;
17: }
18:
19: public boolean handleFault(
20: javax.xml.rpc.handler.MessageContext context) {
21: System.out.println("ServerHandler: In handleFault");
22: return true;
23: }
24:
25: public void init(javax.xml.rpc.handler.HandlerInfo config) {
26: }
27:
28: public void destroy() {
29: }
30:
31: public javax.xml.namespace.QName[] getHeaders() {
32: return null;
33: }
34: }
|