<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to start a workflow programmatically in the InfoPath code using Workflow web service</title><link>http://blogs.msdn.com/jingmeili/archive/2008/01/17/how-to-start-a-workflow-programmatically-in-the-infopath-code-using-workflow-web-service.aspx</link><description>How to start an Approval workflow programmatically in the InfoPath form code? Create a web reference that points to http://yourSiteUrl/_vti_bin/workflow.asmx . Configure an Approval workflow in your form library and capture the template id. From form</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Links (1/17/2008) &amp;laquo; Steve Pietrek&amp;#8217;s SharePoint Stuff</title><link>http://blogs.msdn.com/jingmeili/archive/2008/01/17/how-to-start-a-workflow-programmatically-in-the-infopath-code-using-workflow-web-service.aspx#7145102</link><pubDate>Fri, 18 Jan 2008 04:17:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7145102</guid><dc:creator>Links (1/17/2008) « Steve Pietrek’s SharePoint Stuff</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://stevepietrekweblog.wordpress.com/2008/01/17/links-1172008/"&gt;http://stevepietrekweblog.wordpress.com/2008/01/17/links-1172008/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: How to start a workflow programmatically in the InfoPath code using Workflow web service</title><link>http://blogs.msdn.com/jingmeili/archive/2008/01/17/how-to-start-a-workflow-programmatically-in-the-infopath-code-using-workflow-web-service.aspx#7307931</link><pubDate>Tue, 29 Jan 2008 19:23:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7307931</guid><dc:creator>jaumedejuan</dc:creator><description>&lt;p&gt;Hi Jingmei, &lt;/p&gt;
&lt;p&gt;I've been indeed trying to exactly do what the title of this post says but without much success so far.&lt;/p&gt;
&lt;p&gt;This seems like a reasonable solution but I haven't managed to get it done because of a couple of issues:&lt;/p&gt;
&lt;p&gt;- I can't find an equivalent of your &amp;quot;&lt;a rel="nofollow" target="_new" href="http://yourSiteUrl/_vti_bin/workflow.asmx&amp;quot;"&gt;http://yourSiteUrl/_vti_bin/workflow.asmx&amp;quot;&lt;/a&gt; path, as a matter of fact there is not even a &amp;quot;_vti_bin&amp;quot; folder in my current MOSS installation. Should I somehow create a virtual url that points to the workflow itself?&lt;/p&gt;
&lt;p&gt;- Where is the &amp;quot;WorkflowService.Workflow&amp;quot; class coming from? How can I add it to my VSTO dev. environment?&lt;/p&gt;
&lt;p&gt;Any help and/or ideas would be much appreciated,&lt;/p&gt;
&lt;p&gt;cheers&lt;/p&gt;
&lt;p&gt;Jaume&lt;/p&gt;
</description></item><item><title>re: How to start a workflow programmatically in the InfoPath code using Workflow web service</title><link>http://blogs.msdn.com/jingmeili/archive/2008/01/17/how-to-start-a-workflow-programmatically-in-the-infopath-code-using-workflow-web-service.aspx#7308473</link><pubDate>Tue, 29 Jan 2008 20:10:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7308473</guid><dc:creator>jingmeili</dc:creator><description>&lt;p&gt;Hi Jaume:&lt;/p&gt;
&lt;p&gt;Refer to &lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/websvcworkflow.aspx"&gt;http://msdn2.microsoft.com/en-us/library/websvcworkflow.aspx&lt;/a&gt; on the Workflow web service.&lt;/p&gt;
&lt;p&gt;In your Visual Studio project, you can add a web reference and point to the &lt;a rel="nofollow" target="_new" href="http://yourSiteUrl/_vti_bin/workflow.asmx&amp;quot;"&gt;http://yourSiteUrl/_vti_bin/workflow.asmx&amp;quot;&lt;/a&gt; path. If you have MOSS installed properly you should be able to browse to it.&lt;/p&gt;
&lt;p&gt;Jingmei&lt;/p&gt;
</description></item><item><title>re: How to start a workflow programmatically in the InfoPath code using Workflow web service</title><link>http://blogs.msdn.com/jingmeili/archive/2008/01/17/how-to-start-a-workflow-programmatically-in-the-infopath-code-using-workflow-web-service.aspx#7469654</link><pubDate>Tue, 05 Feb 2008 19:32:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7469654</guid><dc:creator>jaumedejuan</dc:creator><description>&lt;p&gt;Indeed the &lt;a rel="nofollow" target="_new" href="http://yourSiteUrl/_vti_bin/workflow.asmx"&gt;http://yourSiteUrl/_vti_bin/workflow.asmx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;resolves and the webservice can be accessed and added to VS as a web reference.&lt;/p&gt;
&lt;p&gt;However, VS still does not validate the WorkflowService class and fails to compile.&lt;/p&gt;
&lt;p&gt;I have added some references to some apparently related libraries like System.WorkflowServices, but without much luck.&lt;/p&gt;
&lt;p&gt;Could you please post your &amp;quot;using&amp;quot; directives? &lt;/p&gt;
&lt;p&gt;Any further suggestions?&lt;/p&gt;
&lt;p&gt;thanks again&lt;/p&gt;
</description></item><item><title>re: How to start a workflow programmatically in the InfoPath code using Workflow web service</title><link>http://blogs.msdn.com/jingmeili/archive/2008/01/17/how-to-start-a-workflow-programmatically-in-the-infopath-code-using-workflow-web-service.aspx#7470474</link><pubDate>Tue, 05 Feb 2008 20:11:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7470474</guid><dc:creator>jaumedejuan</dc:creator><description>&lt;p&gt;I've just noticed that WorkflowService &amp;nbsp;is the actual reference to the &lt;a rel="nofollow" target="_new" href="http://yourSiteUrl/_vti_bin/workflow.asmx"&gt;http://yourSiteUrl/_vti_bin/workflow.asmx&lt;/a&gt; web service.&lt;/p&gt;
&lt;p&gt;Anyway I would say that this makes my last question pretty redundant.&lt;/p&gt;
&lt;p&gt;It's all compiled and sorted out, thanks!&lt;/p&gt;
</description></item></channel></rss>