I am trying to publish a calculation service for a bunch of computers that will be used by the application server. Computing servers are healthy and should be able to perform asynchronous callbacks, so I want to use the settings for each session via TCP.
The service application was created using the project type of the WCF service application in VS2008.
How this happens, Vista runs on the computing service computers, so according to the documentation I read, I have to use WAS hosting. I am trying to follow Microsoft's instructions on this:
Install and configure WCF components
Enable WCF service in WAS
But I have problems early. I have to put the .svc file in my application virtual directory. But since I do not use IIS hosting, how do I create a virtual directory? The documents presented above are not clear.
Also, when I try to run a command that allows net.tcp to access my application:
%windir%\system32\inetsrv\appcmd.exe set app "Default Web Site/<WCF Application>" /enabledProtocols:net.tcp
I do not know what to replace <WCF Application> with. Again, it seems that the previous step is missing when one of them publishes the IIS style service.
I created a test application that is trying to use the service. When I click Add Service Link, it discovers my service, but cannot connect to it using net.tcp.
Has anyone succeeded here in WAS hosting and service consumption? Do you have any pointers for me?
UPDATE: now I tried adding net.tcp bindings to the website using IIS Manager (right click → Change bindings ...), but the only protocols available in the Add ... dialog are http and https . There is no net.tcp in this list. And yes, I installed the non-HTTP activation components ... Very strange.