I'm trying to call a .NET 2.0 web service via a service reference generated activity in WF 4.0. The service I'm calling requires an endpoint behavior to allow security delegation. I configure the endpoint behavior, the binding's security mode and credentialType and reference the endpointBehavior in the client endpoint. When I run the workflow the activity returns a fault with the message: Access denied. Delegation or Impersonation permission is required for access.
I can successfully call the web service from a .NET4.0 console app using a service reference generated proxy. Does anybody know if the WF4 generated proxy is capable of security delegation? If so, what's the magic that I'm missing?
Thanks in advance for any help.