Reading Offline XML Files
TIBCO Fulfillment Order Management can read the offline XML files in two ways: Poller process and SOAP web service.
- Poller Process
A separate poller thread is started for loading each offline catalog. This thread keeps polling the main catalog directory to read the catalog files that are present in the directory. The poller polls the directory according to the polling interval configured in the property shown in the following figure:
- SOAP Web Service
A SOAP/ HTTP web service is available to read the offline model files on demand without waiting for the poller process to trigger.
Offline catalog invocation web service WDSL is $AF_HOME/schemas/wsdl/http/OfflineCatalogue.wsdl.
The web service is available on the following URL: http://<HOST>:<PORT>/api/offlineCatalogueWS: where the HOST and PORT are the host name and the port on which the omsServer micro-service is running.
The sample web service request for reading offline product models is available at $AF_HOME/samples/OfflineCatalogRequest.xml.
Regardless of the way the offline model files are read, the model payload is processed in exactly the same way as mentioned in Model Processing in online model loading section.