SharePoint Server 2007 SDK中的工作流示例:InterSystemWorkflow

这两天研究SharePoint Server 2007 SDK中的工作流示例:InterSystemWorkflow,有些心得与大家分享:

1 要使示例能够正常运行,需要改动以下几个文件
  (1)ExternalWebServiceMetaData.xml
  (2)isapi\ExternalSystemServicewsdl.aspx
  (3)ExternalSystemSample\Install.bat
  将其中的http://localhost改为真正使用的服务器名。
2 修改template.xsn中的DataSource,使得GetProducts和SharePoint Library Submit两个Data Connection,指已部署的正确的WebService的地址。
3 按照要求安装完成后,在Purchase Orders中添加了一个Orders后,将发现External System Workflow Sample站点内首页的External System Orders出现错误提示:An error occurred while retrieving data from ExternalSystemWorkflowSampleInstance...,这时由于子站点External System Data下的Orders列表中自动添加的记录中,Customer列为空的原因,手动编辑该记录,添加上Customer即可。
4 在点击完Complete Order后,会出现Approve页面,提交后,Purchase Orders下记录的状态仍为In Progress。这时点击In Progress,接着点击下一个页面中的Please review external system response,点击Send To Purchase Order System,就可以结束Workflow。

另外,我在部署时发现了一个奇怪的现象,在部署BDC应用时,测试用服务器连接到公司的网上,就出现错误。从网上断开后,部署成功。
posted @ 2007-10-23 19:13  Gu-dong  阅读(449)  评论(0编辑  收藏  举报