Announcement Announcement Module
Collapse
No announcement yet.
SAAJ0537 - with Echo Sample Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • SAAJ0537 - with Echo Sample

    Aug 22, 2007 2:43:25 AM com.sun.xml.messaging.saaj.soap.MessageImpl identifyContentType
    SEVERE: SAAJ0537: Invalid Content-Type. Could be an error message instead of a SOAP message
    Exception in thread "main" org.springframework.ws.soap.SoapMessageCreationExc eption: Could not create message from InputStream: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?; nested exception is com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
    at com.sun.xml.messaging.saaj.soap.MessageImpl.identi fyContentType(MessageImpl.java:600)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init> (MessageImpl.java:273)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1I mpl.<init>(Message1_1Impl.java:68)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessage Factory1_1Impl.createMessage(SOAPMessageFactory1_1 Impl.java:62)
    at org.springframework.ws.soap.saaj.SaajSoapMessageFa ctory.createWebServiceMessage(SaajSoapMessageFacto ry.java:164)
    at org.springframework.ws.transport.AbstractWebServic eConnection.receive(AbstractWebServiceConnection.j ava:53)
    at org.springframework.ws.client.core.WebServiceTempl ate.sendAndReceive(WebServiceTemplate.java:401)
    at org.springframework.ws.client.core.WebServiceTempl ate.doSendAndReceive(WebServiceTemplate.java:350)
    at org.springframework.ws.client.core.WebServiceTempl ate.sendSourceAndReceiveToResult(WebServiceTemplat e.java:296)
    at org.springframework.ws.client.core.WebServiceTempl ate.sendSourceAndReceiveToResult(WebServiceTemplat e.java:287)
    at org.springframework.ws.client.core.WebServiceTempl ate.sendSourceAndReceiveToResult(WebServiceTemplat e.java:277)
    at org.springframework.ws.samples.echo.client.sws.Ech oClient.echo(EchoClient.java:32)
    at org.springframework.ws.samples.echo.client.sws.Ech oClient.main(EchoClient.java:40)

  • #2
    how did you solve it?

    I get the same error how did you solve it?

    Comment


    • #3
      This typically means that the server is not returning a SOAP message (xml), but rather an error page (in HTML). So something went wrong on the server.

      Comment

      Working...
      X