Is it possible for synapse to handle non-xml responses to messages? That is, suppose I have a <default> endpoint, and it gets a message bound for a normal webserver:
To Address: http://www.example.com/foo Content of foo: Hello, world! ^D Endpoint: <default format="get" trace="enable"/> When the content of foo is valid xml, it gets returned from the endpoint, albeit with a content-type of application/xml regardless of the content-type set by www.example.com. Non-XML content however, throws this exception: <Exception>Unexpected response received : com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'H' (code 47) in prolog; expected '<' at [row,col {unknown-source}]: [1,1]</Exception> ...which I take to mean that synapse (or axis? This seems to happen before the message gets to any Synapse code) was expecting an XML document rather than some other content type. Is there a way around this? Thanks, -Leander
