BizTalk WCF Service Wizard – Consume WCF Service to download metadata from a running service using MEX endpoint with net.tcp transport type

Posted: October 11, 2010 in BizTalk
Tags: , ,

Windows Communication Foundation (WCF) provides a new TCP-based network protocol (net.tcp://) for high-performance communication.

To import schemas that are published from this protocol, you have to use WCF Service Wizard:

  • Right Click > Add > Add Generated Items

WCF-Service-Wizard-mex-net-tcp-1

  • And select “Consume WCF Service” to download metadata from a running service using MEX endpoint.

WCF-Service-Wizard-mex-net-tcp-2

  • In the BizTalk WCF Service Consuming Wizard, select “Metadata Exchange (MEX) endpoint”

WCF-Service-Wizard-mex-net-tcp-3

  • Put the Metadata Address (URL), like net.tcp://MyService/mex, and press “Get” button

WCF-Service-Wizard-mex-net-tcp-4

  • You maybe get a warning that cannot browse metadata address, ignore this, and press “Next”

WCF-Service-Wizard-mex-net-tcp-5

  • The next step is the summary of metadata to be imported, press “Import”

WCF-Service-Wizard-mex-net-tcp-6

The following files are generated as an outcome of running this wizard.

  • Metadata
    • XML Schema Files
  • Orchestration
    • BizTalk Orchestration file (.odx)
  • Port Binding Information Configuration
    • {ServiceName}_Custom.BindingInfo.xml – Contains port configuration using WCF Custom Adapter
    • {ServiceName}.BindingInfo.xml – Contains port configuration using other WCF bindings as obtained from the MEX endpoint

The following transport types are supported in MEX endpoints:

  • http, https, net.pipe, net.tcp

Reference

Tags: BizTalk | WCF | Wizard

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s