Skip to content

Cannot get product list using the SOAP API #2971

@3m0

Description

@3m0

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions