Where Do I Create a Web Reference in BizTalk 2009?

If you are reading this, most likely you were just as stumped as I was when I tried to create my first web reference in BizTalk 2009.

I assumed "Web Reference" was renamed to "Service Reference" but I quickly realized that something was wrong when I tried to create a message within an orchestration and had nothing listed within the "Web Message Types" section.

Well, to create a traditional Web Reference in BizTalk 2009 you have to take an extra step:

Right click on the project, and select "Add Service Reference" just as you did before, but this time, at the bottom click "Advanced". At the bottom of that screen click "Add Web Reference" which will take you to the web reference screen we recognize from previous BizTalk versions.

1 comment:

Unknown said...

In BizTalk Server 2009, you have to use the wizard "Add generated items" and "Consume WCF Service" in order to create the schemas corresponding to the WSDL you want to consume or expose. The Web Reference in a BizTalk 2009 project is now deprecated (http://msdn.microsoft.com/en-us/library/aa559720(BTS.10).aspx).