<?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>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: InfoPath Repeater in a generic web service</title><link>https://www.infopathdev.com:443/forums/thread/48229.aspx</link><pubDate>Mon, 26 Oct 2009 15:19:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48229</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48229.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=48229</wfw:commentRss><description>&lt;p&gt;I understand better now.&lt;/p&gt;&lt;p&gt;What you can do is represent each of your various fields in its own repeating section, and then filter each repeating section to only display the relevant row (Control Properties-&amp;gt;Display-&amp;gt;Conditional Formatting), by hiding rows on the condition &lt;b&gt;name&lt;/b&gt; != &amp;#39;&lt;i&gt;&lt;b&gt;Relevant value&lt;/b&gt;&lt;/i&gt;&amp;#39; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: InfoPath Repeater in a generic web service</title><link>https://www.infopathdev.com:443/forums/thread/48219.aspx</link><pubDate>Mon, 26 Oct 2009 13:05:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48219</guid><dc:creator>catalyst_cdavis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48219.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=48219</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;The problem is every parameter of the web service is sent as a name value pair.&amp;nbsp; Because of this I need to send all of these elements in an array which InfoPath thinks should be represented as a repeater control.&amp;nbsp; I want to be able to set individual form elements to map to a different index of the name/value pair array. I took a look at tools-&amp;gt;default values but i don&amp;#39;t see any mapping options that will allow me to accomplish that.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: InfoPath Repeater in a generic web service</title><link>https://www.infopathdev.com:443/forums/thread/48215.aspx</link><pubDate>Mon, 26 Oct 2009 11:36:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48215</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48215.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=48215</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;It sounds like you should be able to use Tools-&amp;gt;Default Values to hardcode the Name values.&amp;nbsp; Am I mistaken?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>InfoPath Repeater in a generic web service</title><link>https://www.infopathdev.com:443/forums/thread/48211.aspx</link><pubDate>Mon, 26 Oct 2009 10:15:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48211</guid><dc:creator>catalyst_cdavis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48211.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=48211</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have a web service that has a very generic definition, it takes a bunch of 
parameters but they are all in a single array of name value pairs.&amp;nbsp; To give you 
an idea of what I mean, here is the equivilient code in c#:&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;span&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;namevalarray[0].Name = 
&amp;quot;workitem_comment&amp;quot;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;span&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;namevalarray[0].Value = 
&amp;quot;Comment&amp;quot;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;span&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;namevalarray[1].Name = 
&amp;quot;workitem_title&amp;quot;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;span&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;namevalarray[1].Value = 
&amp;nbsp;&amp;quot;Title&amp;quot;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;span&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;namevalarray[2].Name = 
&amp;quot;category_value&amp;quot;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;span&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;namevalarray[2].Value = &amp;quot;Service Request\\Access 
Request&amp;quot;;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;namevalarray[3].Name 
= &amp;quot;category_lookup_id&amp;quot;;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;span&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;namevalarray[3].Value = 1;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;In InfoPath if i try to build a form for this the designer is forcing me to 
use a repeater, but then i can&amp;#39;t hardcode the name in the name value pair.&amp;nbsp; If i 
create individual form elements then i can&amp;#39;t submit a value for all of the name 
value pairs i need.&amp;nbsp; There must be a simple solution for this, any ideas?&lt;/p&gt;</description></item></channel></rss>