I'm experimenting with the new Azure Websites Preview in SDK 1.7 and I'm trying to invoke a WCF workflow in a xamlx-file I've put i a folder at the root.
Everything is working just fine in the emulator on my localhost but in the cloud i just get the standard error saying "The resource cannot be found."
when I try to browse it.
What do I have to do to invoke the xamlx-workflow?
When you are using XAMLX WorkFlow activity service will, you would need to add a WCF service to expose as service so clients can consume it.
For example you have StockPriceService.xamlx as your WorkFlow activity then just add a WCF service to your application and set the SVC to use XAMLX as below:
<%@ ServiceHost Language="C#" Debug="true" Service="StockPriceService.xamlx" Factory="System.ServiceModel.Activities.Activation.WorkflowServiceHostFactory,System.ServiceModel.Activation,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35"%>
I have explained this process in my latest blog WorkFlow (XAMLX) Service Activity with WCF Service in Windows Azure Websites.