Results 1 to 3 of 3

Thread: SAAJ0537 - with Echo Sample

  1. #1
    Join Date
    Aug 2007
    Posts
    2

    Default 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. #2
    Join Date
    Apr 2008
    Posts
    5

    Default how did you solve it?

    I get the same error how did you solve it?

  3. #3
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    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.
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

Posting Permissions

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