Package org.springframework.ws.soap

Examples of org.springframework.ws.soap.SoapMessageCreationException


                    throw new IllegalStateException(
                            "SaajSoapMessageFactory requires SAAJ 1.1, which was not found on the classpath");
                }
            }
            catch (NoSuchMethodError ex) {
                throw new SoapMessageCreationException(
                        "Could not create SAAJ MessageFactory. Is the version of the SAAJ specification interfaces [" +
                                SaajUtils.getSaajVersionString() +
                                "] the same as the version supported by the application server?", ex);
            }
            catch (SOAPException ex) {
                throw new SoapMessageCreationException("Could not create SAAJ MessageFactory: " + ex.getMessage(), ex);
            }
        }
        if (logger.isDebugEnabled()) {
            logger.debug("Using MessageFactory class [" + messageFactory.getClass().getName() + "]");
        }
View Full Code Here


            SOAPMessage saajMessage = messageFactory.createMessage();
            postProcess(saajMessage);
            return new SaajSoapMessage(saajMessage, langAttributeOnSoap11FaultString, messageFactory);
        }
        catch (SOAPException ex) {
            throw new SoapMessageCreationException("Could not create empty message: " + ex.getMessage(), ex);
        }
    }
View Full Code Here

            }
          SAXParseException parseException = getSAXParseException(ex);
          if (parseException != null) {
            throw new InvalidXmlException("Could not parse XML", parseException);
          } else {
            throw new SoapMessageCreationException(
                "Could not create message from InputStream: " + ex.getMessage(),
                ex);
          }
        }
    }
View Full Code Here

TOP

Related Classes of org.springframework.ws.soap.SoapMessageCreationException

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.