<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Set a Byte[] to a field in infopath programatically.</title><link>https://www.infopathdev.com:443/forums/thread/48121.aspx</link><pubDate>Wed, 21 Oct 2009 20:43:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48121</guid><dc:creator>kalyan@infopath</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48121.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=48121</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Jimmy,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; I tried the same, using that i decoded the attachment content into a byte[ ]. But the problem here is to send the decode byte[ ] to SAP through web service. What i did was, i converted this byte[ ] to string and then tried to assign this string to a field in web service. It was saying that &amp;quot;An invalid character was found in text content&amp;quot;.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Is there any other way to send this byte[ ] to SAP through web service.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Kalyan.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Set a Byte[] to a field in infopath programatically.</title><link>https://www.infopathdev.com:443/forums/thread/48071.aspx</link><pubDate>Wed, 21 Oct 2009 01:09:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48071</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48071.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=48071</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;m afraid there is no easy way to do this.&amp;nbsp; Microsoft has a tutorial on files into InfoPath attachment base64 strings.&amp;nbsp; With some modification it can be changed to handle byte arrays.&amp;nbsp; Please give it a try.&lt;/p&gt;&lt;p&gt;&lt;a href="http://support.microsoft.com/kb/892730"&gt;http://support.microsoft.com/kb/892730 &lt;/a&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Set a Byte[] to a field in infopath programatically.</title><link>https://www.infopathdev.com:443/forums/thread/48068.aspx</link><pubDate>Wed, 21 Oct 2009 00:21:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48068</guid><dc:creator>kalyan@infopath</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48068.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=48068</wfw:commentRss><description>I am still looking for an answer!!!!!!!!!</description></item><item><title>Set a Byte[] to a field in infopath programatically.</title><link>https://www.infopathdev.com:443/forums/thread/47282.aspx</link><pubDate>Wed, 23 Sep 2009 16:32:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47282</guid><dc:creator>kalyan@infopath</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47282.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=47282</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi all,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I have a byte array in my Infopath form which is to be passed to a field of (base64binary datatype or some other) directly with out converting into string. Is there any way to pass a byte[ ] directly using code?&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>