<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: XML/URL Field encoding when using UpdateListItems web service</title><link>https://www.infopathdev.com:443/forums/thread/71678.aspx</link><pubDate>Wed, 02 Nov 2011 20:37:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71678</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71678.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=71678</wfw:commentRss><description>&lt;p&gt;Well, if you&amp;#39;re building up the XML with a concat() statement, that&amp;#39;s going to be treated as a string value no matter what settings you choose.&amp;nbsp; I think you may be out of luck with that approach.&lt;/p&gt;
&lt;p&gt;Are you always going to be using the same structure when calling this method (i.e.&amp;nbsp; always one &amp;lt;Method&amp;gt; node and two &amp;lt;Field&amp;gt; nodes)?&amp;nbsp; If so, you can create a secondary XML data source with that structure, set up the data connection to submit that as XML, and use rules to modify the individual values before submit.&amp;nbsp; If you&amp;#39;re looking at a few different possible configurations of Method/Field nodes, you could create one of each in your secondary XML data source, and create a different submit connection for each one.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Anything more complex than that, and I think you&amp;#39;ll need to look at something code-based, either something you&amp;#39;ve written yourself, or something like qRules, that can add and delete XML nodes without you writing any actual code.&lt;/p&gt;</description></item><item><title>XML/URL Field encoding when using UpdateListItems web service</title><link>https://www.infopathdev.com:443/forums/thread/70494.aspx</link><pubDate>Wed, 21 Sep 2011 18:24:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70494</guid><dc:creator>kemperflow</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70494.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=70494</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m trying to use UpdateListItems in the easiest possible way and it is painfully not working. I&amp;#39;ve narrowed it down to the fact that the xml I am building is being URL encoded while being passed to the web service data connection.&lt;/p&gt;&lt;p&gt;I have a field called tmp_UpdateXML which I created with the value:&lt;/p&gt;&lt;p&gt;&amp;nbsp;concat(&amp;quot;&amp;lt;Batch OnError=&amp;#39;Continue&amp;#39; ListVersion=&amp;#39;1&amp;#39; ViewName=&amp;#39;All Items&amp;#39;&amp;gt;&amp;lt;Method ID=&amp;#39;1&amp;#39; Cmd=&amp;#39;New&amp;#39;&amp;gt;&amp;lt;Field Name=&amp;#39;ID&amp;#39;&amp;gt;New&amp;lt;/Field&amp;gt;&amp;lt;Field Name=&amp;#39;Title&amp;#39;&amp;gt;&amp;quot;, Filename, &amp;quot;&amp;lt;/Field&amp;gt;&amp;lt;/Method&amp;gt;&amp;lt;/Batch&amp;gt;&amp;quot;)&lt;/p&gt;&lt;p&gt;(Filename is actually an &amp;quot;inserted field&amp;quot;)&lt;/p&gt;&lt;p&gt;I tried it as an XHTML field, a text field, a complex type, and in the data connection I have chosen&amp;nbsp;to send the parameter as a string and another not as a string. But I always get the error:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope xmlns:SOAPSDK1=&amp;quot;&lt;a href="http://www.w3.org/2001/XMLSchema"&gt;http://www.w3.org/2001/XMLSchema&lt;/a&gt;&amp;quot; xmlns:SOAPSDK2=&amp;quot;&lt;a href="http://www.w3.org/2001/XMLSchema-instance"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/a&gt;&amp;quot; xmlns:SOAPSDK3=&amp;quot;&lt;a href="http://schemas.xmlsoap.org/soap/encoding/"&gt;http://schemas.xmlsoap.org/soap/encoding/&lt;/a&gt;&amp;quot; xmlns:SOAP-ENV=&amp;quot;&lt;a href="http://schemas.xmlsoap.org/soap/envelope/"&gt;http://schemas.xmlsoap.org/soap/envelope/&amp;quot;&amp;gt;&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;tns:UpdateListItems&lt;/a&gt; xmlns:tns=&amp;quot;&lt;a href="http://schemas.microsoft.com/sharepoint/soap/"&gt;Voucher&amp;#39;&amp;gt;http://schemas.microsoft.com/sharepoint/soap/&amp;quot;&amp;gt;&amp;lt;tns:listName&amp;gt;Voucher&lt;/a&gt; Numbering&amp;lt;/tns:listName&amp;gt;&amp;lt;tns:updates&amp;gt;&amp;lt;my:tmp_UpdateXML xmlns:my=&amp;quot;&lt;a href="http://schemas.microsoft.com/office/infopath/2003/myXSD/2011-06-08T19:21:38"&gt;&amp;amp;lt;Batch&amp;#39;&amp;gt;http://schemas.microsoft.com/office/infopath/2003/myXSD/2011-06-08T19:21:38&amp;quot;&amp;gt;&amp;amp;lt;Batch&lt;/a&gt; OnError=&amp;#39;Continue&amp;#39; ListVersion=&amp;#39;1&amp;#39; ViewName=&amp;#39;All Items&amp;#39;&amp;amp;gt;&amp;amp;lt;Method ID=&amp;#39;1&amp;#39; Cmd=&amp;#39;New&amp;#39;&amp;amp;gt;&amp;amp;lt;Field Name=&amp;#39;ID&amp;#39;&amp;amp;gt;New&amp;amp;lt;/Field&amp;amp;gt;&amp;amp;lt;Field Name=&amp;#39;Title&amp;#39;&amp;amp;gt;74478b53-d337-459f-b5eb-d38e9e978a65&amp;amp;lt;/Field&amp;amp;gt;&amp;amp;lt;/Method&amp;amp;gt;&amp;amp;lt;/Batch&amp;amp;gt;......&lt;/p&gt;&lt;p&gt;Obviously it is encoding the values.. Any way to make this madness stop? I am so used to easily doing this with Nintex, this is driving me crazy. I&amp;#39;ve read other solutions about creating repeating tables, etc, but I don&amp;#39;t want anything visible and I&amp;#39;m just posting one value. It seems that every post I have found is a copy and paste or someone&amp;#39;s elses that all talks about the repeating table approach to dynamically creating CAML, etc, but nothing that addresses trying to create this XML by hand or dynamically.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Help?&lt;/p&gt;</description></item></channel></rss>