Exposing WCF services from orchestrations
Our first task is to take a BizTalk orchestration workflow and expose one of its ports as a WCF-enabled web service. Fortunately for us, this is a fairly straightforward undertaking that requires no actual coding.
Setting up the project
The use case we will use throughout this chapter involves the ordering of pharmaceutical products. Our initial assignment is to define the shape of the data representing a "new order". I've built a schema named NewOrder_XML.xsd
with a root node name of NewOrder
and a structure that holds the characteristics of the order, the particular items that made up the order, and the corresponding sales territory information. The namespace of my schema, http://BizTalkSOA.Chapter3.OrderManagement.BizTalk/Contract
, will surface again once the service WSDL is generated. As shown in the following screenshot:
Now that we have a contract definition representing a new order where we have distinguished the Status field...