Occasional rantings about Dynamics CRM, Power BI, SharePoint, Office 365, Power BI and the application blocks in Azure. Intrigued about how people collaborate and data driven decision making. Taking the first small steps in machine learning. Putting all of the above in practical use to help companies "embrace" their customers
Tuesday, January 10, 2006
Passing credentials to a webservice from Workflow Foundation
You can call a webservice from within Workflow Foundation using the InvokeWebService activity. When you associate a webservice with the InvokeWebService activity it will create a proxy class. The InvokeWebService activity also provides an Invoking event handler. In the Invoking handler of the InvokeWebService activity, you can specify the Webserviceproxy credentials property. This proxy object is accessible as property of the WebServiceInvokeEventArgs argument.