3 Replies Latest reply on Jun 1, 2015 5:08 PM by TheBCMan

    Catalogue Slug and URL

    Wayne Bayever Level 1



      I have been using the SOAP API in Visual Studio to create tools to automate tasks.  According to the WSDL, a call to Catalogue_ListRetrieve should return an array of Catalogues, each of which includes a URL and Slug.  However, it looks like those values are never returned.  I cannot use the default Slug and URL because the previous developer customized them and they do not match the Catalogue Name.


      Am I missing something?  Is this a problem on the BC end?


      Thank you,


        • 1. Re: Catalogue Slug and URL
          TheBCMan Adobe Community Professional

          I use visual studio extensively but I always had problems using it with BC's soap API, I ended up writing it all manually (minus the XML passer). Can you debug the return data and make sure you are getting something valid back?


          This is what you should get:


          CatalystEcommerceWebservice Web Service

          • 2. Re: Catalogue Slug and URL
            Wayne Bayever Level 1

            Thank you for your reply.  I am getting valid data back.  This is not a VS problem.  Here is the request and response from SoapUI for Catalogue_Retrieve:



            <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:cat="http://tempuri.org/CatalystDeveloperService/CatalystEcommerceWebservice">















            <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">


                  <Catalogue_RetrieveResponse xmlns="http://tempuri.org/CatalystDeveloperService/CatalystEcommerceWebservice">







                        <Weight xsi:nil="true"/>



                        <Title>Hearing Aids &amp; Personal Sound Amplifiers | Store | Sound World Solutions</Title>

                        <Description>Browse our online store to purchase your Sound World hearing aids or personal sound amplifiers</Description>















                        <ProductsStatsXml><![CDATA[<catalogue><productcount>4</productcount><onsalecount>0</onsal ecount><pricerange country="US"><price startprice="-2147483648" endprice="0" >0</price><price startprice="0" endprice="200" >1</price><price startprice="201" endprice="401" >3</price><price startprice="402" endprice="602" >0</price><price startprice="603" endprice="803" >0</price><price startprice="804" endprice="1004" >0</price><price startprice="1004" endprice="2147483647" >0</price></pricerange></catalogue>]]></ProductsStatsXml>








            No Slug, No URL.

            • 3. Re: Catalogue Slug and URL
              TheBCMan Adobe Community Professional

              In your code you called Catalogue_RetrieveResult you need to call Catalogue_ListRetrieve