Click here to Skip to main content
15,885,869 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

I created a simple long running workflow with flowchart and I’m using WorkflowServiceHost to host it on a console application, I’m using persistence too.

In order to manage instances I created a couple of endpoints:

C#
WorkflowControlEndpoint controlEndpoint =
new WorkflowControlEndpoint(
new BasicHttpBinding(),
new EndpointAddress(new Uri(baseAddress) + "/wce"));
 
host.AddServiceEndpoint(controlEndpoint);
 
CreationEndpoint creationEndpoint = new CreationEndpoint(
new BasicHttpBinding(),
new EndpointAddress(new Uri(new Uri(baseAddress) + "/wcreation")));
 
host.AddServiceEndpoint(creationEndpoint);

The creation endpoint is a class that inherits from WorkflowHostingEndpoint as in the workflow samples: (\\WF_WCF_Samples\WF\Basic\Execution\):

- CreationEndpoint
- ManagementEndpoint
- ResumeBookmarkEndpoint

So, I execute the host, create a proxy reference to my endpoints and call. Everything work just fine. But now I want to host the same workflow in IIS/AppFabric. I’ve tried to accomplish that by following this guide: http://msdn.microsoft.com/en-us/library/ff729688.aspx[^], but it’s not working.

I hope you can help me.

Thanks in advance,
Paúl.
[Edit: added code tags and link]
Posted
Updated 10-Jan-11 10:36am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900