WebServiceUser
17 years agoNew Contributor
SOAP Response Validation
I have just started using SOAP UI . I tried some default requests by SOAPUI and I also got a response. But then when I tried to do the Schema Assertion Compliance it shows "failed" and the error log shows nothing. I went back to the default Request and pressed Alt -V to validate the request and the response. The request side shows " Validation OK" but the response side shows "line -1: null". Please help me to solve the error
SOAP Request
SOAP Response
SOAP Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sch="http://gid.com/div/schemas">
<soapenv:Header/>
<soapenv:Body>
<sch:divisionRequest>
<sch:RequestMessage>FETCHDATA</sch:RequestMessage>
</sch:divisionRequest>
</soapenv:Body>
</soapenv:Envelope>
SOAP Response
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<div:divisionResponse xmlns:div="http://gid.com/div/schemas">
<div:Divisions Added="false" Change-Occured="false" Deleted="false" ID="1">
<div:Division Changed="false" NewValue="null">AP</div:Division>
<div:Name Changed="false" NewValue="null">Crop Protection</div:Name>
<div:Operational Changed="false" NewValue="null">Y</div:Operational>
<div:ValidFrom Changed="false" NewValue="null">2000-01-01 00:00:00.0</div:ValidFrom>
<div:ValidTo Changed="false" NewValue="null">9999-12-31 00:00:00.0</div:ValidTo>
</div:Divisions>
<div:Divisions Added="false" Change-Occured="false" Deleted="false" ID="32">
<div:Division Changed="false" NewValue="null">CP</div:Division>
<div:Name Changed="false" NewValue="null">Inorganics</div:Name>
<div:Operational Changed="false" NewValue="null">Y</div:Operational>
<div:ValidFrom Changed="false" NewValue="null">2008-08-18 00:00:00.0</div:ValidFrom>
<div:ValidTo Changed="false" NewValue="null">9999-12-31 00:00:00.0</div:ValidTo>
</div:Divisions>
</div:divisionResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>