Editar

Partilhar via


Using WCF Services

Microsoft BizTalk Server provides built-in support for Windows Communication Foundation (WCF). BizTalk Server enables you to reuse and aggregate all your existing WCF services within your orchestrations. BizTalk Server also implements support for native adapters in WCF services. Native adapter support provides scalability, fault tolerance, and tracking capabilities for WCF services without requiring you to write code. For information about the WCF adapters, see WCF Adapters.

The WCF services support in BizTalk Server falls into two categories: publishing or creating WCF services, or calling or consuming WCF services.

Publishing WCF services

You can publish (expose) your orchestrations and schemas as WCF services with the WCF adapters to separate the WCF service logic from the business process logic. For isolated WCF adapters, you can use the BizTalk WCF Service Publishing Wizard to create isolated WCF receive locations hosted by Web applications running in Internet Information Services (IIS). For the in-process WCF adapters, you can publish service metadata for any WCF locations with the BizTalk WCF Service Publishing Wizard. The publishing of metadata allows the creation of client code using the svcutil.exe utility.

Consuming WCF services

You can use the BizTalk WCF Service Consuming Wizard to generate the BizTalk artifacts, such as BizTalk orchestrations and types, to consume a WCF service based on the metadata document of the WCF service. Metadata allows a send port to access an external service as a client. Metadata is used purely for describing the endpoint address, binding, and contract.

In This Section