Skip to content

Cannot get product list using the SOAP API #2971

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3m0 opened this issue Jan 12, 2016 · 5 comments
Closed

Cannot get product list using the SOAP API #2971

3m0 opened this issue Jan 12, 2016 · 5 comments

Comments

@3m0
Copy link

3m0 commented Jan 12, 2016

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.

@ericahoekerd
Copy link

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>

@maksek
Copy link
Contributor

maksek commented May 9, 2016

Hi @3m0, have you resolved the issue?

@nobuttsalex
Copy link

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.

@vkorotun vkorotun removed the MX label Aug 4, 2016
@veloraven
Copy link
Contributor

@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.

@veloraven
Copy link
Contributor

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.

magento-engcom-team pushed a commit that referenced this issue Aug 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants