0

I am using SoapUI to test the SOAP V2 APIs. Currently working with products and need some help with the correct syntax to call all additional_attributes. Herein is what I am doing right now:

magento-url: /index.php/api/v2_soap/index/

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:Magento" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
 <soapenv:Header/>
   <soapenv:Body>
    <urn:catalogProductInfo soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
     <sessionId xsi:type="xsd:string">4ece4fc47780419bde091d7c557bdd63</sessionId>
     <product xsi:type="xsd:string">26021</product>
     <attributes xsi:type="urn:catalogProductRequestAttributes">
        <!--You may enter the following 2 items in any order-->
        <!--Optional:-->
        <attributes xsi:type="urn:ArrayOfString" soapenc:arrayType="xsd:string[]"/>
        <!--Optional:-->
        <additional_attributes xsi:type="urn:ArrayOfString" soapenc:arrayType="xsd:string[]"/>
      </attributes>
  </urn:catalogProductInfo>
 </soapenv:Body>
</soapenv:Envelope>

The response contains limited fields. I am trying to modify the above to include all attributes from the system.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.