<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: To save file on file share or in database..</title><link>https://www.infopathdev.com:443/forums/thread/39328.aspx</link><pubDate>Mon, 09 Mar 2009 10:10:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39328</guid><dc:creator>Graeme</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39328.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=39328</wfw:commentRss><description>&lt;font size="2"&gt;
&lt;p&gt;I&amp;#39;ve got this working simlpy be creating a asp.net page that looks up the database and then outputs the xml&amp;nbsp;as text:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Response.ContentType = &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;application/xml&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;
&lt;p&gt;Response.AppendHeader(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Content-disposition&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;attachment; filename=&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; + dataReader[&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Name&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;]);&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;
&lt;p&gt;Response.Write(dataReader[&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;InfopathDoc&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;]);&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;Any comments?&lt;/font&gt;&lt;font size="2"&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>To save file on file share or in database..</title><link>https://www.infopathdev.com:443/forums/thread/39286.aspx</link><pubDate>Fri, 06 Mar 2009 14:32:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39286</guid><dc:creator>Graeme</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39286.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=39286</wfw:commentRss><description>&lt;p&gt;I currently save the Infopath xml via a web service to an XML column in SQL Server and also save to a file share so that a link to the file can be sent to someone for approval.&lt;/p&gt;
&lt;p&gt;Presumably&amp;nbsp;I could avoid saving to a file share and just return the xml from SQL Server directly - I just am unsure of the best way to do that. Would I send a link to a web page that does response.write of the xml and since that has has the Infopath processing instructions, it would launch IP correctly?&amp;nbsp; Or a REST web service that returns the XML?&amp;nbsp; Or is there some other way?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item></channel></rss>