<?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: Problem with binary created by a &amp;quot;File Attachment&amp;quot;</title><link>https://www.infopathdev.com:443/forums/thread/17793.aspx</link><pubDate>Fri, 06 Jan 2006 08:00:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17793</guid><dc:creator>AndersR</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17793.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17793</wfw:commentRss><description>Or search this forum :-D&lt;br /&gt;&lt;br /&gt;&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;br /&gt;All attachments in InfoPath gets an InfoPath header.&lt;br /&gt;&lt;br /&gt;This header is used to show file data such as size, icon and filename in the form.&lt;br /&gt;&lt;br /&gt;To extract data for your webservice you need to remove this header.&lt;br /&gt;&lt;br /&gt;The data structure of the header is described in the SDK.&lt;br /&gt;&lt;br /&gt;I have done this already for a web service myself, so check out the posting linked below for code.&lt;br /&gt;&lt;br /&gt;Remember when you recieve the infopath attachment filename, that it is has a terminating zero, so you need to remove the last char to make your web service call well-formed.&lt;br /&gt;&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1213&amp;SearchTerms=attachment#3532&gt;http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1213&amp;SearchTerms=attachment#3532&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;hth&lt;br /&gt;//AndersR&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;&lt;br /&gt;&lt;br /&gt;PS. Patrick you forgot to shameless plug your book, where this is also described ;-)&lt;br /&gt;&lt;br /&gt;//AndersR</description></item><item><title>Re: Problem with binary created by a &amp;quot;File Attachment&amp;quot;</title><link>https://www.infopathdev.com:443/forums/thread/17792.aspx</link><pubDate>Wed, 14 Dec 2005 08:58:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17792</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17792.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17792</wfw:commentRss><description>Hi Nacho and welcome to our forum,&lt;br /&gt;This has been discussed before. Please search the InfoPath blog that Microsoft does referenced on our resources page. They posted a lengthy articly a while back on how to decode the base64 attachments.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Problem with binary created by a "File Attachment"</title><link>https://www.infopathdev.com:443/forums/thread/17504.aspx</link><pubDate>Tue, 13 Dec 2005 13:51:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17504</guid><dc:creator>nacho</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17504.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17504</wfw:commentRss><description>I have a "File Attachment" control in the form,and when attaching a video "avi" file, it is converted to binary64 and placed into the XML file, well, when I take this binary64 text in my Web Service and then convert it back into an "avi", but InfoPath had added to the binary64 text some more text and also the name of the original file, something like that: &lt;br /&gt;&lt;br /&gt;ÇIFA&#x14;   &#x1;        &#x18;&#x2; &#xC;   t e s t O n e . a v i   &lt;br /&gt;&lt;br /&gt;the result is that I can not open it with any video player because of this anoying line!!&lt;br /&gt;&lt;br /&gt;does anyone knows how to get rid of this line??&lt;br /&gt;&lt;br /&gt;thanks in advance&lt;br /&gt;&lt;br /&gt;nacho</description></item></channel></rss>