When using the BizTalk WCF Service Publishing Wizard to create WCF services a number of files and directories are created in the stipulated virtual directory folder. The directory structure created is shown below, with a brief statement as to what is in each directory:
At a customer recently there was a requirement to take these published services and change them from using the WCF-WSHttp adapter to using the WCF-BasicHttp adapter. One option was to republish the WCF services, but this was quickly discarded as there were a large number of services. As BizTalk does not include a command line version of the WCF Publishing Wizard in the installation the customer was in the process of developing their own WCF publishing service, using the WcfServiceDescription.xml file located in the Temp directory. After pointing out to them the availability of an existing command line utility, as docmented at http://technet.microsoft.com/en-us/library/bb245933.aspx, they decided to use this instead. Using the command line tool, and by setting the "AdapterName" argument to "WCF-BasicHttp", they were able to very quickly then republish their endpoints and change all their receive locations to use the WCF-BasicHttp adapter.
There are a few things to be aware of when using this command-line utility, however:
This tool is available for download from: http://go.microsoft.com/fwlink/?LinkId=92955, and the documentation for it is located at: http://technet.microsoft.com/en-us/library/bb245933.aspx.
While testing the WCF-WSHttp receive adapter this week I ran in this very interesting error: The message