petercsanyi
6 years agoOccasional Contributor
"400 bad request" error when send request with SoapUI 5.0.0 to QAComplete (SWPlanner webService)
Hi,
I try check the Folders_LoadByCriteria SWPlanner webService in QAComplete v11.0 with SoapUI 5.0.0, but the response is "400 Bad Request".
My request is in SoapUI:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:prag="http://www.pragmaticsw.com/">
<soapenv:Header/>
<soapenv:Body>
<prag:Folders_LoadByCriteria>
<prag:AuthenticationData>
<prag:AppCode>agSPEnt</prag:AppCode>
<prag:DeptId>8162</prag:DeptId>
<prag:ProjId>12007</prag:ProjId>
<prag:UserId>25080</prag:UserId>
<prag:PassCode>12345</prag:PassCode>
</prag:AuthenticationData>
<prag:Condition>
<Conditions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Operation="opAND">
<Conditions Operation="opEQU">
<Items type="tField">
<Value xsi:type="xsd:string">EntityCode</Value>
</Items>
<Items type="tString">
<Value xsi:type="xsd:string">'FunctionalSpecs'</Value>
</Items>
</Conditions>
<Conditions Operation="opLIKE">
<Items type="tField">
<Value xsi:type="xsd:string">FullFolderName</Value>
</Items>
<Items type="tString">
<Value xsi:type="xsd:string">'Projects/TestProjects/TestProject_v10'</Value>
</Items>
</Conditions>
</Conditions>
</prag:Condition>
<prag:Sorting></prag:Sorting>
<prag:PageSize>1</prag:PageSize>
<prag:PageNumber>1</prag:PageNumber>
</prag:Folders_LoadByCriteria>
</soapenv:Body>
</soapenv:Envelope>
The RAW response is:
HTTP/1.1 400 Bad Request Cache-Control: private Content-Type: text/xml; charset=utf-8 X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET Date: Thu, 24 Jan 2019 12:29:44 GMT Content-Length: 0
The Projects/TestProjects/TestProject_v10 is exist in Requirements (you can see on db_content.png).
What's wrong?
Thank's!