Package org.jibx.ws.soap

Examples of org.jibx.ws.soap.SoapProcessor


                if (wrapped != null) {
                    e = wrapped;
                }
            }
   
            SoapProcessor soapProcessor = ((SoapProcessor) processor);
            SoapFault fault;
            if (e instanceof SoapFaultException) {
                fault = ((SoapFaultException) e).getFault();
            } else if (e instanceof WsNotUnderstoodException) {
                fault = new SoapFault(SoapFault.FAULT_CODE_MUST_UNDERSTAND, e.getMessage(), null);
            } else {
                fault = new SoapFault(SoapFault.FAULT_CODE_SERVER, e.getMessage(), null);
                if (m_includeStackTrace) {
                    fault.addDetailWriter(new ExceptionWriter(e, m_includeStackTrace));
                }
            }
            soapProcessor.sendFaultMessage(fault, outConn);
        } catch (Throwable ex) {
            logger.error("Error while processing prior error", ex);
        }
    }
View Full Code Here

TOP

Related Classes of org.jibx.ws.soap.SoapProcessor

Copyright © 2018 www.massapicom. 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.