Java Code Examples for javax.xml.soap.SOAPFault#getFaultActor()
The following examples show how to use
javax.xml.soap.SOAPFault#getFaultActor() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SOAP11Fault.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
SOAP11Fault(SOAPFault fault) { this.faultcode = fault.getFaultCodeAsQName(); this.faultstring = fault.getFaultString(); this.faultactor = fault.getFaultActor(); if (fault.getDetail() != null) { detail = new DetailType(); Iterator iter = fault.getDetail().getDetailEntries(); while(iter.hasNext()){ Element fd = (Element)iter.next(); detail.getDetails().add(fd); } } }
Example 2
Source File: SOAP11Fault.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
SOAP11Fault(SOAPFault fault) { this.faultcode = fault.getFaultCodeAsQName(); this.faultstring = fault.getFaultString(); this.faultactor = fault.getFaultActor(); if (fault.getDetail() != null) { detail = new DetailType(); Iterator iter = fault.getDetail().getDetailEntries(); while(iter.hasNext()){ Element fd = (Element)iter.next(); detail.getDetails().add(fd); } } }
Example 3
Source File: SOAP11Fault.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
SOAP11Fault(SOAPFault fault) { this.faultcode = fault.getFaultCodeAsQName(); this.faultstring = fault.getFaultString(); this.faultactor = fault.getFaultActor(); if (fault.getDetail() != null) { detail = new DetailType(); Iterator iter = fault.getDetail().getDetailEntries(); while(iter.hasNext()){ Element fd = (Element)iter.next(); detail.getDetails().add(fd); } } }
Example 4
Source File: SOAP11Fault.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
SOAP11Fault(SOAPFault fault) { this.faultcode = fault.getFaultCodeAsQName(); this.faultstring = fault.getFaultString(); this.faultactor = fault.getFaultActor(); if (fault.getDetail() != null) { detail = new DetailType(); Iterator iter = fault.getDetail().getDetailEntries(); while(iter.hasNext()){ Element fd = (Element)iter.next(); detail.getDetails().add(fd); } } }
Example 5
Source File: SOAP11Fault.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
SOAP11Fault(SOAPFault fault) { this.faultcode = fault.getFaultCodeAsQName(); this.faultstring = fault.getFaultString(); this.faultactor = fault.getFaultActor(); if (fault.getDetail() != null) { detail = new DetailType(); Iterator iter = fault.getDetail().getDetailEntries(); while(iter.hasNext()){ Element fd = (Element)iter.next(); detail.getDetails().add(fd); } } }
Example 6
Source File: SOAP11Fault.java From hottub with GNU General Public License v2.0 | 5 votes |
SOAP11Fault(SOAPFault fault) { this.faultcode = fault.getFaultCodeAsQName(); this.faultstring = fault.getFaultString(); this.faultactor = fault.getFaultActor(); if (fault.getDetail() != null) { detail = new DetailType(); Iterator iter = fault.getDetail().getDetailEntries(); while(iter.hasNext()){ Element fd = (Element)iter.next(); detail.getDetails().add(fd); } } }
Example 7
Source File: SOAP11Fault.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
SOAP11Fault(SOAPFault fault) { this.faultcode = fault.getFaultCodeAsQName(); this.faultstring = fault.getFaultString(); this.faultactor = fault.getFaultActor(); if (fault.getDetail() != null) { detail = new DetailType(); Iterator iter = fault.getDetail().getDetailEntries(); while(iter.hasNext()){ Element fd = (Element)iter.next(); detail.getDetails().add(fd); } } }
Example 8
Source File: JRXmlaQueryExecuter.java From jasperreports with GNU Lesser General Public License v3.0 | 5 votes |
protected void handleResultFault(SOAPFault fault) { StringBuilder errorMsg = new StringBuilder(); errorMsg.append("XML/A fault: "); String faultString = fault.getFaultString(); if (faultString != null) { errorMsg.append(faultString); errorMsg.append("; "); } String faultActor = fault.getFaultActor(); if (faultActor != null) { errorMsg.append("Actor: "); errorMsg.append(faultActor); errorMsg.append("; "); } String faultCode = fault.getFaultCode(); if (faultCode != null) { errorMsg.append("Code: "); errorMsg.append(faultCode); errorMsg.append("; "); } throw new JRRuntimeException(errorMsg.toString()); }
Example 9
Source File: SOAP11Fault.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
SOAP11Fault(SOAPFault fault) { this.faultcode = fault.getFaultCodeAsQName(); this.faultstring = fault.getFaultString(); this.faultactor = fault.getFaultActor(); if (fault.getDetail() != null) { detail = new DetailType(); Iterator iter = fault.getDetail().getDetailEntries(); while(iter.hasNext()){ Element fd = (Element)iter.next(); detail.getDetails().add(fd); } } }