Forum Discussion

kcmt's avatar
kcmt
New Contributor
15 years ago

How does soapUI "[Validate] that the response is a valid SOAP Message"?

On the soapUI test request assertions help page, the description for the SOAP Response assertion is:

"Validates that the response is a valid SOAP Message. This is the minimal assertion that should be added to catch empty responses or HTTP error pages. This assertion has no configuration parameters."


How does soapUI check on whether a response is a SOAP response or not?  I'm getting a response that fails the assertion but does validate in an outside parser.
  • Hi!

    it checks that the content conforms to the SOAP xml schema (1.1 or 1.2) and also validates corresponding http headers..

    can you show the response so we can check this out?

    regards!

    /Ole
    eviware.com
  • Hi

    it seems you are getting a SOAP 1.2 response to a SOAP 1.1 request, soapUI is expecting a response with the same SOAP Version as the request.

    regards!

    /Ole
    eviware.com
  • kcmt's avatar
    kcmt
    New Contributor
    Ole,

    Thank you, that has been bothering me for days!