Xamlx To Svc conversion Of Workflow Service

When we expose workflow service in WF 4.0, service is exposed as xamlx endpoint. Client sees address ending with .xamlx extension. We can hide .xamlx with .svc in simple steps :

1- Add a regular workflow instead of workflow service. Say it Workflow1.xaml and copy the content of WorkflowService.Xamlx to it.

2- Add a WCF service and name it as Workflow1.svc. Delete code behind file and Add a factory pointing to
System.ServiceModel.Activities.Activation.WorkflowServiceHostFactory

Original Post: Hiding the XAMLX from a workflow service

Advertisements

One Response to Xamlx To Svc conversion Of Workflow Service

  1. thedxman says:

    Could use an example for this. What I’m trying to do is get my workflow to act as a compiled service (so I don’t have to add service references for each xamlx, but can use the compiled dll from the project to call workflows).

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

%d bloggers like this: