7 months ago
Input validation failure to be reported to host application
The SOAP library is validating the values of a SOAP request against the WSDL and XSD files. If the validation fails, the library generates a SOAP fault message and responds to the requester. Please g...
- 5 months ago
Hi akhilmv7
When testing your application with SoapUI, capturing input validation failures from SOAP requests requires a two-pronged approach.
- Firstly, your SOAP service must be configured to validate incoming requests against the WSDL/XSD schema, returning detailed SOAP fault messages when validation fails.
- Secondly, SoapUI must be set up to detect and extract relevant details from these SOAP faults using assertions such as "Not SOAP Fault" and "XPath Match".
By configuring both your service and SoapUI in this way, your tests can effectively identify input validation failures and verify how your service responds to them.
Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards