I'm trying to use SOAPUI to determine if the response I'm getting back from a SOAP API is consistent with its own WSDL schema. Why is SOAPUI not able to do this?
Attached are the response and the WSDL.
Solved! Go to Solution.
Thanks for asking, Rich! I'm trying to do what is outlined here, and receiving the error which is the subject of my original post:
Given a soap response message and a WSDL file, I just want to validate that the response message complies with the WSDL.
Zip file containing response message and WSDL attached.
I downloaded the WSDL straight from the web service and saved it to a file.
I then used SoapUI to call the service method and get a response back.
I generated the project + test cases from the WSDL file.
I added a Schema Compliance assertion to the test case in question, specifying the WSDL file used to create the project when prompted.
I received the error.
(see screenshot attached)
Thanks for your help.
It does appear that the response being encoded is causing the problem, and unfortunately I have no control over that.
It would be nice to be able to remove the encoding attribute from the response message and have SOAPUI validate the modified message instead of actually calling the endpoint, but I don't know of way to do that - maybe by setting up a mock response?