<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Best practice on REST web services</title><link>https://www.infopathdev.com:443/forums/thread/104491.aspx</link><pubDate>Tue, 27 Oct 2015 21:26:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104491</guid><dc:creator>djj6677</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104491.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104491</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;This might be the amusing part, but I don&amp;#39;t know how to update the SQL tables through a web service, except by using Custom Code....&lt;/p&gt;&lt;p&gt;&amp;nbsp;So it&amp;#39;s a REST (WCF) web service - I just need to do single record inserts,&amp;nbsp;updates and deletes...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The data connection is a secondary data source, and I&amp;#39;ve always understood that it&amp;#39;s for retrieval, not updating, am I wrong?)&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Best practice on REST web services</title><link>https://www.infopathdev.com:443/forums/thread/104487.aspx</link><pubDate>Tue, 27 Oct 2015 14:49:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104487</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104487.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104487</wfw:commentRss><description>Okay, sorry, I feel like we are going in circles. :) What is your custom code doing? If you are using a web service to write back to SQL, where does the custom code come in?</description></item><item><title>Re: Best practice on REST web services</title><link>https://www.infopathdev.com:443/forums/thread/104482.aspx</link><pubDate>Tue, 27 Oct 2015 00:17:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104482</guid><dc:creator>djj6677</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104482.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104482</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Yes, exactly, the web service talks to the SQL table.&lt;/p&gt;&lt;p&gt;My preference would be to &amp;nbsp;use the web service to update the tables.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;regards,&lt;br /&gt;David&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Best practice on REST web services</title><link>https://www.infopathdev.com:443/forums/thread/104481.aspx</link><pubDate>Tue, 27 Oct 2015 00:05:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104481</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104481.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104481</wfw:commentRss><description>Hey, David - yah, you have carefully restrict user input with execute SQL - you&amp;#39;d need to use dropdowns or validation rules (or other rules to sanitize input). But I had thought you were asking about submitting to a web service - have you got a web service that talks to your SQL table?</description></item><item><title>Re: Best practice on REST web services</title><link>https://www.infopathdev.com:443/forums/thread/104480.aspx</link><pubDate>Mon, 26 Oct 2015 23:24:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104480</guid><dc:creator>djj6677</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104480.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104480</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello Hilary,&lt;/p&gt;&lt;p&gt;The custom code does the really basic CRUD operations... - Insert a single record, delete a single record&amp;nbsp;and update a single record. (All using secondary data sources) and the data source is an SQL Table.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;So essentially I use the &amp;quot;Change REST URL&amp;quot; rule&amp;nbsp;to query the&amp;nbsp;source using ODATA, and then need a method to allow the&amp;nbsp;user to make changes to the displayed records.&lt;/p&gt;&lt;p&gt;&amp;nbsp;If there&amp;#39;s a completely different approach to this, happy to consider that as well.&lt;/p&gt;&lt;p&gt;(I have seen a QRules command to execute SQL, but I&amp;#39;m a bit reluctant to do this, since it has a potential risk of SQL injection attacks...)&amp;nbsp;&lt;/p&gt;&lt;p&gt;thanks in advance,&lt;/p&gt;&lt;p&gt;David&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Best practice on REST web services</title><link>https://www.infopathdev.com:443/forums/thread/104474.aspx</link><pubDate>Mon, 26 Oct 2015 15:53:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104474</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104474.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104474</wfw:commentRss><description>SubmitToSharePointList is specifically meant for submitting items to SharePoint Lists, I&amp;#39;m afraid. What does your current custom code do? I can maybe help you find a combination of qRules commands that could do what you need....</description></item><item><title>Re: Best practice on REST web services</title><link>https://www.infopathdev.com:443/forums/thread/104465.aspx</link><pubDate>Sun, 25 Oct 2015 23:28:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104465</guid><dc:creator>djj6677</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104465.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104465</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks Reema,&lt;/p&gt;&lt;p&gt;Just briefly the&amp;nbsp;QRules command &amp;quot;SubmitToSharePoint&amp;quot; - will that work for Web services which are NOT in SharePoint?&lt;/p&gt;&lt;p&gt;&amp;nbsp;(Because my web Service is a WCF REST web service, just hosted on a standard web server, not SharePoint)&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thanks again,&lt;/p&gt;&lt;p&gt;David&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Best practice on REST web services</title><link>https://www.infopathdev.com:443/forums/thread/104460.aspx</link><pubDate>Sun, 25 Oct 2015 13:10:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104460</guid><dc:creator>Reema Daga</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104460.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104460</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thank you for your post on&amp;nbsp;infopathdev. You can use the qRules commands like SubmitToSharePoint to submit to a library and&amp;nbsp; SubmitToSharePointList&amp;nbsp;to submit data to a SharePoint list.&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;Here is the link to the blog by Hilary: &lt;a href="http://www.infopathdev.com/blogs/hilary/archive/2012/05/30/qrules-submittosharepointlist-walkthrough-for-v4-2.aspx"&gt;http://www.infopathdev.com/blogs/hilary/archive/2012/05/30/qrules-submittosharepointlist-walkthrough-for-v4-2.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Hope this helps!&lt;/p&gt;&lt;p&gt;&amp;nbsp;Kind Regards,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Reema&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;b&gt;&lt;span style="color:maroon;font-size:12pt;mso-fareast-theme-font:minor-fareast;mso-fareast-language:JA;mso-no-proof:yes;"&gt; Reema Daga&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-size:8pt;mso-fareast-theme-font:minor-fareast;mso-fareast-language:JA;mso-no-proof:yes;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;span style="mso-fareast-theme-font:minor-fareast;mso-no-proof:yes;"&gt;&lt;a href="http://www.qdabra.com/"&gt;&lt;b&gt;&lt;span style="color:black;font-size:8pt;mso-fareast-language:JA;"&gt;Qdabra® Software&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size:8pt;mso-fareast-theme-font:minor-fareast;mso-fareast-language:JA;mso-no-proof:yes;"&gt; / &lt;/span&gt;&lt;/b&gt;&lt;span style="mso-fareast-theme-font:minor-fareast;mso-no-proof:yes;"&gt;&lt;a href="http://www.infopathdev.com/"&gt;&lt;b&gt;&lt;span style="font-size:8pt;mso-fareast-language:JA;"&gt;InfoPathDev.com&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size:8pt;mso-fareast-theme-font:minor-fareast;mso-fareast-language:JA;mso-no-proof:yes;"&gt; / &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="color:maroon;font-size:8pt;mso-fareast-theme-font:minor-fareast;mso-fareast-language:JA;mso-no-proof:yes;"&gt;&lt;a href="http://formsquo.com/"&gt;&lt;span style="color:maroon;"&gt;FormsQuo&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-size:8pt;mso-fareast-theme-font:minor-fareast;mso-fareast-language:JA;mso-no-proof:yes;"&gt; / &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="color:gray;font-size:8pt;mso-fareast-theme-font:minor-fareast;mso-fareast-language:JA;mso-no-proof:yes;"&gt;425 999 4597 direct&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;"&gt;&lt;b&gt;&lt;span style="font-size:8pt;mso-fareast-theme-font:minor-fareast;mso-fareast-language:JA;mso-no-proof:yes;"&gt;Business Process
Automation for Everyone&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="color:black;font-size:8pt;mso-fareast-theme-font:minor-fareast;mso-fareast-language:JA;mso-no-proof:yes;"&gt; –
Streamline data gathering to turn process into knowledge.™&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Best practice on REST web services</title><link>https://www.infopathdev.com:443/forums/thread/104456.aspx</link><pubDate>Sat, 24 Oct 2015 09:01:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104456</guid><dc:creator>djj6677</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104456.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104456</wfw:commentRss><description>Hi everyone,
I use InfoPath 2013, and have recently purchased QRules...

I have a series of existing InfoPath web forms which use WCF REST Web services, querying the Data using ODATA (with InfoPath Rules) and then submitting new records using Custom Code.

Now I have QRules I&amp;#39;m hoping to remove some of the custom code replacing it with QRules functionality....

So my question is... Can I use QRules to submit data to a WCF web service, and if so, how? (which command etc)

If there is a worked example or video tutorial somewhere, that would be perfect.

Many thanks in advance,
David Jones</description></item></channel></rss>