<?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: Get form version history with webservice</title><link>https://www.infopathdev.com:443/forums/thread/69230.aspx</link><pubDate>Fri, 12 Aug 2011 19:26:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69230</guid><dc:creator>The Todd</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69230.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=69230</wfw:commentRss><description>&lt;p&gt;Thanks Hilary! That worked!&lt;/p&gt;&lt;p&gt;So now that&amp;nbsp;I have the&amp;nbsp;data connection..&amp;nbsp;I have a structure for the webservice that looks like this: (all icons in the tree are folders with locks on them except for the fileName, which has a file-icon)&lt;/p&gt;&lt;ul&gt;&lt;li&gt;MyFields&lt;/li&gt;&lt;ul&gt;&lt;li&gt;queryFields&lt;/li&gt;&lt;ul&gt;&lt;li&gt;ns3:GetVersions&lt;/li&gt;&lt;ul&gt;&lt;li&gt;fileName (file icon)&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;dataFields&lt;/li&gt;&lt;ul&gt;&lt;li&gt;ns3:GetVersionsResponse&lt;/li&gt;&lt;ul&gt;&lt;li&gt;GetVersionsResult&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;p&gt;Is there a way to pass the current filename&amp;nbsp;into the service&amp;nbsp;and pull the version history data out for that file?&lt;/p&gt;&lt;p&gt;I&amp;#39;m a bit new to this&amp;nbsp;and&amp;nbsp;I&amp;#39;m just&amp;nbsp;trying to&amp;nbsp;grasp how&amp;nbsp;it works with the webservice. &lt;/p&gt;&lt;p&gt;Thank you&lt;/p&gt;</description></item><item><title>Re: Get form version history with webservice</title><link>https://www.infopathdev.com:443/forums/thread/69180.aspx</link><pubDate>Wed, 10 Aug 2011 22:11:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69180</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69180.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=69180</wfw:commentRss><description>&lt;p&gt;From MSDN, for Versions.GetVersions:&lt;/p&gt;
&lt;h4 class="subHeading"&gt;Parameters&lt;/h4&gt;

&lt;span class="parameter"&gt;&lt;em&gt;fileName&lt;/em&gt;&lt;/span&gt;

&lt;p&gt;A string that contains the site-relative URL of the file in the form &lt;em&gt;Folder_Name&lt;/em&gt;/&lt;em&gt;File_Name&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;So, your list/filename.xml should be correct, if that is the relative URL.&lt;/p&gt;
&lt;p&gt;However, when I tried this, I found that I had to URL encode my relative path. So instead of Shared Documents/filename.xml, it had to be Shared&lt;strong&gt;%20&lt;/strong&gt;Documents/filename.xml.&lt;/p&gt;
&lt;p&gt;All that being said, just because we can create a data connection in InfoPath successfully to a web service, doesn&amp;#39;t mean that we are going to get back anything that InfoPath can use - the data connection I created could probably have the returned data accessed programatically, but the XSD created by InfoPath just goes to a group level.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Get form version history with webservice</title><link>https://www.infopathdev.com:443/forums/thread/69177.aspx</link><pubDate>Wed, 10 Aug 2011 21:42:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69177</guid><dc:creator>The Todd</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69177.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=69177</wfw:commentRss><description>&lt;p&gt;Thanks! I&amp;#39;m sorry, I&amp;#39;m trying to use the webservice, but I&amp;#39;m not having any success getting it to work correctly. That&amp;#39;s why I was asking if there was a better way to accomplish this. I&amp;#39;m sure it&amp;#39;s some little thing i&amp;#39;m missing. When I try to add the webservice connection it asks for a sample value. I&amp;#39;ve tried entering the filename and different forms of a filepath with no luck. It seems very straightforward. Devil&amp;#39;s in the details right? haha&lt;/p&gt;&lt;p&gt;sample values I&amp;#39;ve tried:&lt;br /&gt;&lt;a href="http://servername/sitename/list/filename.xmllist/filename.xml"&gt;http://servername/sitename/list/filename.xml&lt;br /&gt;list/filename.xml&lt;/a&gt;&lt;br /&gt;filename.xml&lt;/p&gt;&lt;p&gt;Also, when I changed the path. I changed the webservice address accordingly for example:&amp;nbsp;(I wasn&amp;#39;t sure if it would make a difference)&lt;/p&gt;&lt;p&gt;&lt;a href="http://servername/sitename/_vti_bin/versions.asmx"&gt;http://servername/sitename/_vti_bin/versions.asmx&lt;/a&gt;&lt;br /&gt;&lt;a href="http://servername/sitename/listname/_vti_bin/versions.asmx"&gt;http://servername/sitename/listname/_vti_bin/versions.asmx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Thanks again,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Todd&lt;/p&gt;</description></item><item><title>Re: Get form version history with webservice</title><link>https://www.infopathdev.com:443/forums/thread/69132.aspx</link><pubDate>Wed, 10 Aug 2011 07:05:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69132</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69132.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=69132</wfw:commentRss><description>&lt;p&gt;Hi The Todd and welcome!&lt;/p&gt;
&lt;p&gt;What&amp;#39;s your goal? Seriously, if it works for ya, great! &lt;/p&gt;</description></item><item><title>Get form version history with webservice</title><link>https://www.infopathdev.com:443/forums/thread/68983.aspx</link><pubDate>Thu, 04 Aug 2011 15:25:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68983</guid><dc:creator>The Todd</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68983.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68983</wfw:commentRss><description>&lt;p&gt;G&amp;#39;day,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;m trying to use the versions webservice to get the current form&amp;#39;s version history and display it in a read only format. Am I going about this in the correct way or is there a better way to accomplish my goal?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks in advance!&lt;/p&gt;</description></item></channel></rss>