Examples of appendFaultSubcode()


Examples of javax.xml.soap.SOAPFault.appendFaultSubcode()

            String role = ((SoapFault)ex).getRole();
            if (role != null) {
                soapFault.setFaultActor(role);
            }
            if (((SoapFault)ex).getSubCode() != null) {
                soapFault.appendFaultSubcode(((SoapFault)ex).getSubCode());
            }

            if (((SoapFault)ex).hasDetails()) {
                Node nd = soapFault.getOwnerDocument().importNode(((SoapFault)ex).getDetail(),
                                                                  true);
View Full Code Here

Examples of org.jboss.ws.core.soap.SOAPFaultImpl.appendFaultSubcode()

         if(e.isInternalError())
            fault.setFaultCode(SOAPConstants.SOAP_RECEIVER_FAULT);
         else
            fault.setFaultCode(SOAPConstants.SOAP_SENDER_FAULT);

         fault.appendFaultSubcode(e.getFaultCode());
         fault.setFaultString(e.getFaultString());

         return new SOAPFaultException(fault);
      }
      else
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.