Book Image

SOA Patterns with BizTalk Server 2009

By : Richard Seroter
Book Image

SOA Patterns with BizTalk Server 2009

By: Richard Seroter

Overview of this book

SOA is about architecture, not products and SOA enables you to create better business processes faster than ever. While BizTalk Server 2009 is a powerful tool, by itself it cannot deliver long-lasting, agile solutions unless we actively apply tried and tested service-oriented principles. The current BizTalk Server books are all for the 2006 version and none of them specifically looks at how to map service-oriented principles and patterns to the BizTalk product. That's where this book fits in. In this book, we specifically investigate how to design and build service-oriented solutions using BizTalk Server 2009 as the host platform. This book extends your existing BizTalk knowledge to apply service-oriented thinking to classic BizTalk scenarios. We look at how to build the most reusable, flexible, and loosely-coupled solutions possible in the BizTalk environment. Along the way, we dive deeply into BizTalk Server's integration with Windows Communication Foundation, and see how to take advantage of the latest updates to the Microsoft platform. Chock full of dozens of demonstrations, this book walks through design considerations, development options, and strategies for maintaining production solutions.
Table of Contents (18 chapters)
SOA Patterns with BizTalk Server 2009
Credits
About the author
About the reviewers
Preface
Index

Building subscription alerts for service changes


One of the new features in UDDI V3 is the ability to subscribe to changes that occur within the UDDI directory. That is, we can build service listeners which act when UDDI objects (providers, services, and so on) undergo revision.

The Microsoft UDDI Service conforms to the official UDDI standard, and thus complies with WSDLs hosted at http://www.uddi.org. So, in order to build a listener service that UDDI Services will consume, create a service library with a service reference to the relevant WSDL on http://www.uddi.org. How do we do this? First, point the WCF svcutil.exe tool at the public WSDL:

svcutil http://uddi.org/wsdl/uddi_subr_v3_portType.wsdl /out:IUDDISubscriber.cs

Take the resulting class, and add it to a new class library project in Visual Studio.NET.

Note

Pitfall

The interface generated by the WCF svcutil.exe tool is not completely accurate according to the message sent by Microsoft UDDI Services. Specifically, the generated interface...