Announcement Announcement Module
Collapse
No announcement yet.
SoapMessageCreationException Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • SoapMessageCreationException

    Hello Folks :

    I am new to spring ws and trying to implement the same. I have created all the objects through jaxb and when the request is being sent I get the following exception :

    org.springframework.ws.soap.SoapMessageCreationExc eption: Could not create message from InputStream: unable to locate Envelope in namespace http://schemas.xmlsoap.org/soap/envelope/. Root element is "http://www.w3.org/2003/05/soap-envelope" in namespace "Envelope"; nested exception is weblogic.xml.saaj.VersionMismatchException: unable to locate Envelope in namespace http://schemas.xmlsoap.org/soap/envelope/. Root element is "http://www.w3.org/2003/05/soap-envelope" in namespace "Envelope"
    at org.springframework.ws.soap.saaj.SaajSoapMessageFa ctory.createWebServiceMessage(SaajSoapMessageFacto ry.java:186)
    at org.springframework.ws.transport.AbstractWebServic eConnection.receive(AbstractWebServiceConnection.j ava:86)
    at org.springframework.ws.client.core.WebServiceTempl ate.doSendAndReceive(WebServiceTemplate.java:553)
    at org.springframework.ws.client.core.WebServiceTempl ate.sendAndReceive(WebServiceTemplate.java:502)

    Please let me know what should I do?

    Thank you.

  • #2
    I deployed the same thing on Tomcat and got the same error:

    org.springframework.web.util.NestedServletExceptio n: Request processing failed; nested exception is org.springframework.ws.soap.saaj.SaajSoapMessageEx ception: Could not access envelope: InputStream does not represent a valid SOAP 1.1 Message; nested exception is javax.xml.soap.SOAPException: InputStream does not represent a valid SOAP 1.1 Message
    org.springframework.web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:583)
    org.springframework.web.servlet.FrameworkServlet.d oGet(FrameworkServlet.java:501)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:617)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:717)

    Comment

    Working...
    X