Consuming the order discount service
The company's CRM system, which we already send orders to, allows for a discounting feature that calculates a discount amount based on the customer's purchase history and standing. This feature is accessible via a web service. We need to call this service on priority purchase orders to apply a discount as specified by the CRM. Orchestration is by far the easiest, but not the only way to consume services and create more complex service compositions. Recall that this service, despite being hosted in our enterprise, is in fact an external schema. When we look at the service, we can see that it uses the same message structure for the request as for the response—a simple message that contains an order number, customer ...
Get Microsoft BizTalk Server 2010 Patterns now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.