The following illustration shows the invoice and the resulting payment flow through the hub system.
Hub system receives an invoice and sends back a payment
The hub's XML Web service accepts the incoming invoice. The XML Web service submits the invoice to a BizTalk Messaging Services channel configured for invoice processing. Then the pipeline component on that channel correlates the incoming document with an XLANG schedule instance identifier. This correlation information is obtained by reading the key-pair values from the custom correlation database. The invoice is sent to the correlated XLANG schedule instance, and resumes processing on the ReceiveInvoice port. After the document is back in the schedule, it is sent to a component that transforms the invoice into a payment. The payment is sent to the HubSendPayment channel for further processing. When the processing completes, the payment is sent to the supplier by means of an AIC that functions as a client to the supplier's XML Web service.
Note The transform component used in the hub schedule simulates the function of an ordering or accounting application that accepts invoice documents and generates the corresponding payments.
Previous Next |