01: package samples.jaxrpc.hello;
02:
03: public class ClientHandler implements javax.xml.rpc.handler.Handler {
04: public ClientHandler() {
05: }
06:
07: public boolean handleRequest(
08: javax.xml.rpc.handler.MessageContext context) {
09: System.out.println("ClientHandler: In handleRequest");
10: return true;
11: }
12:
13: public boolean handleResponse(
14: javax.xml.rpc.handler.MessageContext context) {
15: System.out.println("ClientHandler: In handleResponse");
16: return true;
17: }
18:
19: public boolean handleFault(
20: javax.xml.rpc.handler.MessageContext context) {
21: System.out.println("ClientHandler: 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: }
|