Forum Discussion

SujitBasu's avatar
15 years ago

soapUI Fault Message has content-type "text/html"

I'm new to testing with soapUI, in fact exchange of SOAP messages.
I have a client that's sending SOAP message against a soapUI Mock Service.

For an intentional error with an incorrect SOAP Action (in the SOAP request from my client), soapUI is generating an expected "Error 500" SOAP Fault Message. But, the content-type of the fault message is set to text/html. Is this a bug?

Because my client side fault handler (using SUN SAAJ) throws exception while identifying content type in this error response. It's probably expecting a content-type of "text/xml".

A reply/response on this will be highly appreciated.
No RepliesBe the first to reply