Product Model Purge

The Purge web service makes it possible to remove existing products, price and discount models, from model repository in AOPD, OPE, and models persisted in the OMS database.

Note: When the flag com.tibco.fom.oms.modelLoadingMaxIdle is set to true, during models purging and model loading, Orchestrator does not process any incoming order events for orchestration. When the flag is set to false, Orchestrator processes the order when the model loading and model purging is in progress. For more information, see the Model Processing topic.

Purge Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:off="http://www.tibco.com/AFF/OfflineCatalogue">
   <soapenv:Header/>
   <soapenv:Body>
      <off:PurgeRequest ExternalBusinessTransactionID="?">
         <!--You have a CHOICE of the next 2 items at this level-->
         <!--off:all>all</off:all-->
                    <off:productId>Product_TV,PO_TV</off:productId>
      <off:allPrice>ALL</off:allPrice>
         <!--Optional:-->
         <off:allDiscount>ALL</off:allDiscount>
      </off:PurgeRequest>
   </soapenv:Body>
</soapenv:Envelope>

Purge Response

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
   <ns2:PurgeResponse ExternalBusinessTransactionID="?" xmlns:ns8="http://www.tibco.com/aff/orderservice/result" xmlns:ns7="http://www.tibco.com/aff/planfragments" xmlns:ns6="http://www.tibco.com/aff/plan" xmlns:ns5="http://www.tibco.com/aff/commontypes" xmlns:ns4="http://www.tibco.com/aff/order" xmlns:ns3="http://www.tibco.com/aff/orderservice" xmlns:ns2="http://www.tibco.com/AFF/OfflineCatalogue">
         <ns2:purgeResult>
            <ns2:ProductID>Product_TV,PO_TV</ns2:ProductID>
            <ns2:Message>Purge Product request sent Successfully to AOPD</ns2:Message>
         </ns2:purgeResult>
      </ns2:PurgeResponse>
   </soap:Body>
</soap:Envelope>

WSDL Location

This is the default location where all the WSDL files are copied after the installation.

  • $AF_HOME\schemas\wsdl\http\OfflineCatalogue.wsdl