querying the status of a reference object
The statusRequest ATL COM module provides methods to formulate a XML infosets of type statusRequest_430. Such an infoset allows to query the current processing status of credit, invoice, reminder, and/or MCD request objects at an insurance's site. The subchapter object reference provides an in-depth description of the concept of "object reference".
To produce such an infoset, firstly an instance of the IStatusRequest interface is retrieved by the property IStatusRequestManager::GetStatusRequest. All the object references whose status are requested are added with the IStatusRequestManager::AddQueryObject method. The transport/routing information is set by the SetTransport method.
After all query objects are set, a file with a statusRequest XML infoset is generated by the GetXML method.
If an insurance decides not to support the statusRequest/statusResponse system then a StatusResponse is
returned where each given object reference has a status "unsupported
". This status
code basically signals that a status system is not implemented!
All data that was set via the IStatusRequest interface can be read back with the IStatusResult interface.
To get a starting point with the statusRequest module there is a Visual Basic code snippet provided
that demonstrates the principles for generating a status request XML infoset.