将ADO DS与WF一起使用 [英] Using ADO DS with WF

查看:80
本文介绍了将ADO DS与WF一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想知道,有没有办法将ado数据服务与windows工作流程集成?例如,如果我想要一个工作流来调用我的 http:// localhost :7777 / PersonDataServices / Persons 获取要批准的人员列表,我最好使用InvokeWebService活动,指定uri。当我使用Web服务引用向导执行此操作时,它会抱怨它不喜欢"人员"的服务代理。



关于在WWF中使用ado数据服务是否有任何好方法的任何想法?或者我应该在WF论坛上发布这个...

解决方案


它听起来你正在使用.NET Framework 3.5工作流(因为你提到了InvokeWebServiceActivity)。必须尝试发送活动和添加服务参考(不是Web服务参考)。


如果这些不起作用(我们应该能够使它工作)那么你可以创建一个这样做的自定义活动,就像你从普通的.net代码那样调用它。


让我知道你正在使用的WF版本,我会看看我是否能得到一个一个很好的例子。


Steve Danielson [微软]这篇文章是"原样"提供的。没有保证,也没有授予任何权利。使用包含的脚本样本须遵守 http://www.microsoft.com/info/cpyright.htm


 

I was wondering, is there any way to integrate ado data services with windows workflow?  For example if I want a workflow to call out to my http://localhost:7777/PersonDataServices/Persons to get a list of persons to approve, I would ideally like to use a InvokeWebService activity, specifying the uri.  When I use the web service reference wizard to do this, it complains it doesn't like the the service proxy for 'Persons'.

 

Any ideas on if there any nice way to use ado data services in WWF?  Or should I post this in the WF forums...

解决方案

Hi,

It sounds like you are using .NET Framework 3.5 workflows (since you mention the InvokeWebServiceActivity). Have to tried the Send activity and Add Service Reference (not web service reference).

If these don't work (and we should be able to get it working) then you could create a custom activity to do this, and call it just like you would from regular .net code.

Let me know what version of WF you are using and I'll see if I can get a small example going for you.

Steve Danielson [Microsoft]
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm


这篇关于将ADO DS与WF一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆