1 package samples.jaxrpc.hello; 2 3 public class ServerHandler implements javax.xml.rpc.handler.Handler { 4 public ServerHandler() { 5 } 6 7 public boolean handleRequest(javax.xml.rpc.handler.MessageContext context) { 8 System.out.println("ServerHandler: In handleRequest"); 9 return true; 10 } 11 12 public boolean handleResponse(javax.xml.rpc.handler.MessageContext context) { 13 System.out.println("ServerHandler: In handleResponse"); 14 return true; 15 } 16 17 public boolean handleFault(javax.xml.rpc.handler.MessageContext context) { 18 System.out.println("ServerHandler: In handleFault"); 19 return true; 20 } 21 22 public void init(javax.xml.rpc.handler.HandlerInfo config) { 23 } 24 25 public void destroy() { 26 } 27 28 public javax.xml.namespace.QName [] getHeaders() { 29 return null; 30 } 31 } 32 33 | Popular Tags |