Forum Discussion

amitaks2's avatar
amitaks2
New Contributor
13 years ago

Schema Validation using XSD??

PROBLEM DESCRITION: I need to validate my wsdl against schema xsd definition for each request and response

In SoapUI, it is possible to set a preference to do Schema Validation for Requests and Responses automatically.
To do Schema validation, select File > Preferences > and then click Editor Settings:

see image 1.jpeg

And then we will get errors for request validation against xsd

And a similar set of errors for the response.

But there is an option in assertion see image 2.jpeg

So what is difference in between two validation??when we use both?

Looking hearing from your side.

1 Reply

  • nmrao's avatar
    nmrao
    Community Hero
    As you pointed, if the preferences set to doing it automatically, it does validation automatically for each outbound and inbound messages.
    Other way is to put the validation explicitly on demand basis using the assertions.