<?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: How can I submit an attachment to a Web Service?</title><link>https://www.infopathdev.com:443/forums/thread/92364.aspx</link><pubDate>Tue, 20 Aug 2013 01:35:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92364</guid><dc:creator>Ramon84</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92364.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=92364</wfw:commentRss><description>&lt;p&gt;
Hi Patrick,
&lt;/p&gt;

&lt;p&gt;
I need to create a custom XML based on the InfoPath Form using Bizagi&amp;#39;s data model. For Example:
&lt;/p&gt;

&lt;p&gt;
&amp;#60;BizAgiXMLNode&amp;#62;InfoPathFieldValue&amp;#60;BizAgiXMLNode&amp;#62;
&lt;/p&gt;

&lt;p&gt;
Please, take a look:
&lt;/p&gt;

&lt;p&gt;
http://wiki.bizagi.com/en/index.php?title=How_to_Create_a_Case_Using_SOA
&lt;/p&gt;

You said:
&lt;/p&gt;

&amp;#34;The attachment is encoded as Base64 in the XML so no conversion is required&amp;#34;.
&lt;/p&gt;

How can I read the string (Base64) of the attachment?
&lt;/p&gt;

&lt;p&gt;
In the end I need this:
&lt;/p&gt;

&lt;p&gt;
&amp;#60;BizAgiXMLNode&amp;#62;Base64AttachmentString&amp;#60;BizAgiXMLNode&amp;#62;
&lt;/p&gt;

&lt;p&gt;
Thanks in advanced.
&lt;/p&gt;</description></item><item><title>Re: How can I submit an attachment to a Web Service?</title><link>https://www.infopathdev.com:443/forums/thread/92285.aspx</link><pubDate>Sun, 18 Aug 2013 23:42:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92285</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92285.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=92285</wfw:commentRss><description>&lt;p&gt;The attachment is encoded as Base64 in the XML so no conversion is required.&lt;/p&gt;
&lt;p&gt;Does your Web service take the entire XML as a string? Or is it parameterized?&lt;/p&gt;
&lt;p&gt;Best practice is to make it loosely coupled, i.e. take the entire XML as a string. No parameter validation needed because InfoPath won&amp;#39;t submit an invalid form anyway. &lt;/p&gt;
&lt;p&gt;&lt;a title="http://www.qdabra.com/en/products/DBXL.aspx" href="http://www.qdabra.com/en/products/DBXL.aspx"&gt;Qdabra&amp;#39;s DBXL Web service&lt;/a&gt; is a great example of the loosely couple approach. Supports all data types: images, attachments, rich text, hotdogs ... you name it!&lt;/p&gt;
&lt;p&gt;:)&lt;/p&gt;</description></item><item><title>How can I submit an attachment to a Web Service?</title><link>https://www.infopathdev.com:443/forums/thread/92230.aspx</link><pubDate>Thu, 15 Aug 2013 18:05:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92230</guid><dc:creator>Ramon84</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92230.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=92230</wfw:commentRss><description>&lt;p&gt;&lt;/p&gt;
Help, please.
&lt;p&gt;&lt;/p&gt;

How can I submit an attachment to a Web Service?
&lt;p&gt;&lt;/p&gt;

Should I convert the attachment to BASE64 before sending the data?
&lt;p&gt;&lt;/p&gt;

Thanks in advanced!</description></item></channel></rss>