Examples of WsException


Examples of org.jibx.ws.WsException

     * @param faultActor URI for fault origination (optional, may be <code>null</code>).
     * @throws WsException if SOAP Fault details violate the SOAP specification
     */
    public SoapFault(QName faultCode, String faultString, String faultActor) throws WsException {
        if (faultCode == null || faultString == null) {
            throw new WsException("faultCode and faultString must be non-null");
        }
        if (faultCode.getUri() == null) {
            throw new WsException("faultCode URI must be non-null");
        }
        if (!faultCode.getUri().equals(SoapConstants.SOAP_URI)) {
            if (faultCode.getPrefix() == null) {
                throw new WsException("faultCode prefix must be non-null for custom URIs");
            }
        }
        m_faultCode = faultCode;
        m_faultString = faultString;
        m_faultActor = faultActor;
View Full Code Here

Examples of org.jibx.ws.WsException

                }
            } catch (IOException e) {
                throw new WsConfigurationException("Error reading WSDL file '" + sdef.getWsdlFilepath() + "'");
            }
        } catch (InstantiationException e) {
            throw new WsException("Error creating endpoint service object", e);
        } catch (IllegalAccessException e) {
            throw new WsException("Unable to create endpoint service object", e);
        }
    }
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.