@Override public void setFaultNode(SOAPFault fault, String uri) throws SOAPException { fault.setFaultNode(uri); }
@Override public void setFaultNode(String uri) { try { getSaajFault().setFaultNode(uri); } catch (SOAPException ex) { throw new SaajSoapFaultException(ex); } }
@Override public void setFaultNode(String uri) { try { getSaajFault().setFaultNode(uri); } catch (SOAPException ex) { throw new SaajSoapFaultException(ex); } }
@Override public void setFaultNode(String uri) { try { getSaajFault().setFaultNode(uri); } catch (SOAPException ex) { throw new SaajSoapFaultException(ex); } }
fault.setFaultNode(exFault.getFaultNode());
fault.setFaultNode(exFault.getFaultNode());
protected Throwable getProtocolException() { try { SOAPFault fault = SOAPVersion.SOAP_12.getSOAPFactory().createFault();; if(reason != null){ for(TextType tt : reason.texts()){ fault.setFaultString(tt.getText()); } } if(code != null){ fault.setFaultCode(code.getValue()); fillFaultSubCodes(fault, code.getSubcode()); } if(detail != null && detail.getDetail(0) != null){ javax.xml.soap.Detail detail = fault.addDetail(); for(Node obj: this.detail.getDetails()){ Node n = fault.getOwnerDocument().importNode(obj, true); detail.appendChild(n); } } if(node != null) { fault.setFaultNode(node); } return new ServerSOAPFaultException(fault); } catch (SOAPException e) { throw new WebServiceException(e); } }
protected Throwable getProtocolException() { try { SOAPFault fault = SOAPVersion.SOAP_12.getSOAPFactory().createFault();; if(reason != null){ for(TextType tt : reason.texts()){ fault.setFaultString(tt.getText()); } } if(code != null){ fault.setFaultCode(code.getValue()); fillFaultSubCodes(fault, code.getSubcode()); } if(detail != null && detail.getDetail(0) != null){ javax.xml.soap.Detail detail = fault.addDetail(); for(Node obj: this.detail.getDetails()){ Node n = fault.getOwnerDocument().importNode(obj, true); detail.appendChild(n); } } if(node != null) { fault.setFaultNode(node); } return new ServerSOAPFaultException(fault); } catch (SOAPException e) { throw new WebServiceException(e); } }
protected Throwable getProtocolException() { try { SOAPFault fault = SOAPVersion.SOAP_12.getSOAPFactory().createFault();; if(reason != null){ for(TextType tt : reason.texts()){ fault.setFaultString(tt.getText()); } } if(code != null){ fault.setFaultCode(code.getValue()); fillFaultSubCodes(fault, code.getSubcode()); } if(detail != null && detail.getDetail(0) != null){ javax.xml.soap.Detail detail = fault.addDetail(); for(Node obj: this.detail.getDetails()){ Node n = fault.getOwnerDocument().importNode(obj, true); detail.appendChild(n); } } if(node != null) { fault.setFaultNode(node); } return new ServerSOAPFaultException(fault); } catch (SOAPException e) { throw new WebServiceException(e); } }