O'Reilly logo

Professional WCF 4: Windows Communication Foundation with .NET 4 by Johann Grabner, Fabio Cozzolino, Kurt Claeys, Pablo Cibraro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Creating the Communication and Integration Case

WHAT'S IN THIS CHAPTER?

  • Setting up a WCF solution for a communication and integration case

  • Configuring and working with WCF routing

  • Enabling a publish/subscribe pattern

  • Communicating with ASMX style webservices

  • Using the MSMQ binding

  • Implementing a REST based approach

This chapter is an interactive walkthrough about how to create a communication and integration case in Visual Studio 2010 using WCF. It starts with defining requirements for a case and shows how to develop the solution step by step. At the end of this chapter, you will have developed interfaces, hosts, and clients that interact with each other. This is a complete example — you test the process and see it working in action.

DEFINING THE REQUIREMENTS

A global U.S.-based company sells its products to customers worldwide. Orders are entered in the U.S. headquarters but the products are shipped out of warehouses all over the world (Belgium, Argentina, and so on). The company has to integrate existing applications into different branches worldwide for order entry, order tracking, and local delivery management where different types of clients and services (legacy and new) communicate to fulfill the order.

An order is created at the U.S. headquarters using an existing order entry application. This application is not using WCF as it was developed before WCF was available. It uses queued messaging based on MSMQ to send a message containing the data for the order to other applications. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required