Results 1 to 2 of 2

Thread: SoapMessageCreationException

  1. #1
    Join Date
    Jul 2009
    Posts
    4

    Default 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. #2
    Join Date
    Jul 2009
    Posts
    4

    Default

    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)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •