BTSWebSvcPub Command-Line Reference


This topic provides reference information for the BTSWebSvcPub command-line tool included with BizTalk Server. You can use BTSWebSvcPub to create Web services (.asmx) for publishing orchestrations through Web services as follows:

BTSWebSvcPub PathName [-Location: value ] [-Overwrite] [-Anonymous]

[-Name: value ] [-Namespace: value ] [-TargetNamespace: value ]

[-UnknownHeaders[ + | - ]] [-SingleSignOn[ + | - ]] [-ParameterStyle: value ]

[-ConformanceClaims: value ] [-ForceRequestResponse: value ] [-ReceiveLocation]

[-ApplicationName: value ]

PathNameYesPath and file name of BizTalk assembly (*.dll) or web service description (*.xml) file.
-LocationNoLocation in which to publish. (Syntax:"http://host[:port]/path")
-OverwriteNoOverwrite specified location.
-AnonymousNoAllow anonymous access to Web service.
-NameNoName of the solution and assembly (.sln and .dll files) that will contain the Web service.
-NamespaceNoDefault namespace for Web service code.
-TargetnamespaceNoTarget namespace of the Web service. (Example:'')
-UnknownHeadersNoSupport unknown SOAP headers.
-SinglesSignonNoSupport SharePoint Portal Server Single Sign-On SOAP headers.
-ParameterStyleNoThe SoapParameterStyle for messages: "Default", "Bare",or "Wrapped".
-ConfirmanceClaimsNoWeb services interoperability (WSI) claim: "None" or"BasicProfile1_1".
-ForceRequestResponseNoExpose one-way BizTalk operations as request-response web methods.
-ReceiveLocationNoCreate receive locations in the specified BizTalk application.
-ApplicationNameNoName of the BizTalk application in which to create receive locations. If not specified, the default BizTalk application is used.

BTSWebSvcPub.exe "MyAssembly.dll" -Location:http://localhost/MyVdir


Parameter names are not case sensitive and may be abbreviated. Parameter values are case sensitive.

How to Use the BizTalk Web Services Publishing Wizard to Publish an Orchestration as a Web Service

Community Additions