@Override public void onError(Throwable t) { // TODO Auto-generated method stub super.onError(t); /** If there is output caught from SOAPFault Print the error message on commmand prompt */ System.out.println(""); System.out.println("Error caught on sever: " + t.getMessage()); System.out.println(" = = = = = = = = = = = = = = = = = = = = = "); }
@Override public void onResponse() throws Exception { super.onResponse(); SOAPElement elem = SOAPUtilities.getElement(this.response, "messageId", getNSURI(), 0); if (elem != null) { String msgId = elem.getValue(); System.out.println(""); System.out.println("Message [" + msgId + "] redownload permition request approved."); System.out.println(" = = = = = = = = = = = = = = = = = = = = = "); } }