locked
Calling a WCF service with client credentials RRS feed

  • Question

  • Hi,

    Is there any way to invoke a service that requires client credentials (and service credentials) from a declarative service using the Send Activity in the current bits ?.  There isn't any property in the Send Activity to set up that kind of security information. I think WF 3.5 supported a way to pass that info using a code activity, however, I am not sure about how that can be done in WF 4.0.

    Many of the existing security authentication schemas can be configured directly in the configuration file, that wouldn't be a problem (For instance Mutual X509 certificates). However, usernames and passwords can not be set in the configuration, is there any way to set those credentials in the workflow instance ?


    Thanks
    Pablo. 
    Pablo Cibraro - http://weblogs.asp.net/cibrax
    Monday, October 12, 2009 4:35 PM

Answers

  • As you mentioned, we do support client credentials specified in config on your client endpoint.  Unfortunately, we have no way in .NET 4.0 of specifying username/password credentials on a Send activity.  :( 

    This feature is on our radar, but just didn't fit into our schedule.  We will do our best to add it to the Send activity in the next release or service pack.  Question: is username/password the only missing scenario here?  Or are there other types of client credentials that you'd like to specify on the Send activity (as opposed to in config)?

    -- Dave

    • Proposed as answer by edhickey Monday, October 19, 2009 5:47 PM
    • Marked as answer by Pablo Cibraro Wednesday, October 21, 2009 4:10 PM
    Thursday, October 15, 2009 1:58 AM

All replies