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

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
BizTalk Server WCF Service Wizard mex net tcp
  • And select “Consume WCF Service” to download metadata from a running service using MEX endpoint.
BizTalk Server WCF Service Wizard mex net tcp
  • In the BizTalk WCF Service Consuming Wizard, select “Metadata Exchange (MEX) endpoint
BizTalk Server WCF Service Wizard mex net tcp
  • Put the Metadata Address (URL), like net.tcp://MyService/mex, and press “Get” button
BizTalk Server WCF Service Wizard mex net tcp
  • You maybe get a warning that cannot browse metadata address, ignore this, and press “Next
BizTalk Server WCF Service Wizard mex net tcp
  • The next step is the summary of metadata to be imported, press “Import
BizTalk Server WCF Service Wizard mex net tcp

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

Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

Leave a Reply

Your email address will not be published. Required fields are marked *

turbo360

Back to Top