Geeks With Blogs
Kasi Srinivasan Microsoft Certified Technology Specialist
When you have the Schemas/Orchestration published as WCF Service, specifically during the development updating the metadata using the WCF Service publishing Wizard is a tedious task. Once the Service names and request-response of the service operations are finalized, you can use the Command line version of the BizTalk WCF Service publishing metadata for the updated schemas. The command line tool can be downloaded from http://go.microsoft.com/fwlink/?LinkId=101820.

Syntax:

BtsWcfServicePublishing PathName
[-AdapterName:value][-EnableMetadata][-ReceiveLocation][-Anonymous]
[-ApplicationName:value][-MetadataOnly][-MetadataReceiveLocationName:value]
[-MergePorts][-TargetNamespace:value][-Location:value][-Overwrite]


Sample:
BtsWcfServicePublishing.exe OrderServicePublishing.xml -MetadataOnly -MetadataReceiveLocationName:Contoso.Request.wcf.NetNamedPipe -TargetNamespace:"http://biztalk.contoso.com/Services/Order" -Location:"http://localhost/BizTalkWcfService" -Overwrite -Anonymous

The XML for the WCF service publishing can be pulled either from the WCF Service Summary screen of the publishing wizard or the metadata location something like C:\Inetpub\wwwroot\BizTalkWcfService\App_Data\Temp\WcfServiceDescription.xml where you published the service

Untitled

Posted on Thursday, February 12, 2009 10:01 PM BizTalk | Back to top


Comments on this post: Automating the BizTalk WCF Service Publishing Wizard

# re: Automating the BizTalk WCF Service Publishing Wizard
Requesting Gravatar...
This kind of training is particularly important on situations like the one illustrated. It keeps firefighters on their toes at the same time safe. Scenarios should be played out and practiced so that when the time comes when it becomes real, firemen have the knowledge on how to deal with these situations. - Instant Tax Solutions Complaints
Left by Inga Freise Stahle on Jan 15, 2012 5:33 AM

Your comment:
 (will show your gravatar)


Copyright © kasi | Powered by: GeeksWithBlogs.net