Cannot get product list using the SOAP API
I've been trying to get the product list using the following soap request:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:def="http://magento.upop.com.br/soap/default?services=catalogProductRepositoryV1">
<soap:Header/>
<soap:Body>
<def:catalogProductRepositoryV1GetListRequest>
<searchCriteria>
<filterGroups>
</filterGroups>
</searchCriteria>
</def:catalogProductRepositoryV1GetListRequest>
</soap:Body>
</soap:Envelope>
However, all I get is the following response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>SoapServer::SoapServer(): Invalid parameters</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
It says that the parameters are invalid, but I don't see what is invalid, since the filterGroups can be empty.
this will works, filter on enityt_id > 0;
<searchCriteria><filterGroups><item><filters><item><field>entity_id</field><value>0</value><conditionType>gt</conditionType></item></filters></item></filterGroups></searchCriteria>
Hi @3m0, have you resolved the issue?
This seems to be an issue on 2.0.5 and maybe earlier versions. I am able to make SOAP API calls to my instance on the dev branch but cannot make the same call to my instance on 2.0.5.
@3m0 is this issue still actual? If it is please describe detailed steps, actual result and expected result. If it is not, please close it.
According to contributor guide, tickets without response for two weeks should be closed. If this issue still reproducible please feel free to create the new one: format new issue according to the Issue reporting guidelines: with steps to reproduce, actual result and expected result and specify Magento version.