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
Original Post: Hiding the XAMLX from a workflow service