<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Data Services</title>
	<atom:link href="http://forms.stefcameron.com/data-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://forms.stefcameron.com</link>
	<description>Building intelligent forms using Adobe LiveCycle Designer</description>
	<lastBuildDate>Thu, 19 Jan 2012 16:32:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/data-services/#comment-7663</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Thu, 19 Jan 2012 16:32:12 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/?page_id=393#comment-7663</guid>
		<description>@Leena Jain,

My submit service is written in PHP and I don&#039;t know the equivalent syntax for ASP but here&#039;s the code that detects if the posted data is a PDF and simply returns it as the content of the page to the browser (as the response to the POST):

&lt;pre&gt;&lt;code&gt;if ($contentType == &quot;application/pdf&quot;) {
    header(&quot;Content-type: application/pdf&quot;);
    print(file_get_contents(&quot;php://input&quot;, FILE_BINARY));
}&lt;/code&gt;&lt;/pre&gt;

Returning the PDF as the response (i.e. content of the page) will trigger the browser to open the PDF in the Acrobat plugin.

Perhaps there&#039;s something similar in ASP. Good luck!

(I thought comments were closed on my blog pages but it looks like the latest Wordpress update re-opened them. I am re-closing comments after I post this response.)</description>
		<content:encoded><![CDATA[<p>@Leena Jain,</p>
<p>My submit service is written in PHP and I don&#8217;t know the equivalent syntax for ASP but here&#8217;s the code that detects if the posted data is a PDF and simply returns it as the content of the page to the browser (as the response to the POST):</p>
<pre><code>if ($contentType == "application/pdf") {
    header("Content-type: application/pdf");
    print(file_get_contents("php://input", FILE_BINARY));
}</code></pre>
<p>Returning the PDF as the response (i.e. content of the page) will trigger the browser to open the PDF in the Acrobat plugin.</p>
<p>Perhaps there&#8217;s something similar in ASP. Good luck!</p>
<p>(I thought comments were closed on my blog pages but it looks like the latest WordPress update re-opened them. I am re-closing comments after I post this response.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leena Jain</title>
		<link>http://forms.stefcameron.com/data-services/#comment-7662</link>
		<dc:creator>Leena Jain</dc:creator>
		<pubDate>Thu, 19 Jan 2012 11:39:30 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/?page_id=393#comment-7662</guid>
		<description>Hi Stefan,

I am trying to submit a pdf to a dot net service.

If possible kindly share the code for your service.I want to save the form as pdf at the server side.I am using Submit as PDF but how do i capture that PDF response at dot net (aspx) server side.

Thanks and Regards,
Leena Jain</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>I am trying to submit a pdf to a dot net service.</p>
<p>If possible kindly share the code for your service.I want to save the form as pdf at the server side.I am using Submit as PDF but how do i capture that PDF response at dot net (aspx) server side.</p>
<p>Thanks and Regards,<br />
Leena Jain</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/data-services/#comment-7072</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Mon, 15 Nov 2010 22:46:59 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/?page_id=393#comment-7072</guid>
		<description>@Moroni,

Please see my tutorial on &lt;a href=&quot;http://forms.stefcameron.com/2006/09/18/connecting-a-form-to-a-database/&quot; rel=&quot;nofollow&quot;&gt;connecting a form to a database&lt;/a&gt;. While it doesn&#039;t use an Access database, the concept is the same: You&#039;ll need an ODBC connection to your Access database and then you&#039;ll connect your form to the ODBC connection.</description>
		<content:encoded><![CDATA[<p>@Moroni,</p>
<p>Please see my tutorial on <a href="http://forms.stefcameron.com/2006/09/18/connecting-a-form-to-a-database/" rel="nofollow">connecting a form to a database</a>. While it doesn&#8217;t use an Access database, the concept is the same: You&#8217;ll need an ODBC connection to your Access database and then you&#8217;ll connect your form to the ODBC connection.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moroni</title>
		<link>http://forms.stefcameron.com/data-services/#comment-7071</link>
		<dc:creator>Moroni</dc:creator>
		<pubDate>Mon, 08 Nov 2010 22:02:37 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/?page_id=393#comment-7071</guid>
		<description>I am a newbie to this but my question is do you have an example of how to take a pdf form from adobe design and link it to an access database to the user can hit send and it loads the xml data into the database?

Thanks</description>
		<content:encoded><![CDATA[<p>I am a newbie to this but my question is do you have an example of how to take a pdf form from adobe design and link it to an access database to the user can hit send and it loads the xml data into the database?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/data-services/#comment-7070</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Mon, 08 Feb 2010 19:12:18 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/?page_id=393#comment-7070</guid>
		<description>Billy,

&lt;blockquote&gt;I have ran into issues with Adobe throwing an error when I try to submit because it doesnt know how to handle the HTML that is returning to Reader.&lt;/blockquote&gt;

This is due to the fact that Reader cannot create PDF files. When it gets an HTML response, it can&#039;t open it. If using Acrobat, which can create PDFs from HTML, it would auto-convert the HTML response into a new PDF and display it.

&lt;blockquote&gt;basically presenting a confirmation PDF in return&lt;/blockquote&gt;

In this case, you must be submitting the form as a PDF from Acrobat (or the PDF is &lt;a href=&quot;http://www.adobe.com/products/livecycle/readerextensions/&quot; rel=&quot;nofollow&quot;&gt;extended&lt;/a&gt; to allow Reader to submit PDF).

I don&#039;t want to divulge all my secrets but I will say that when the PDF is submitted to the service, the service looks at the content type and handles the case where it&#039;s &quot;application/pdf&quot;, resulting in the browser loading the PDF in the Acrobat/Reader plug-in.</description>
		<content:encoded><![CDATA[<p>Billy,</p>
<blockquote><p>I have ran into issues with Adobe throwing an error when I try to submit because it doesnt know how to handle the HTML that is returning to Reader.</p></blockquote>
<p>This is due to the fact that Reader cannot create PDF files. When it gets an HTML response, it can&#8217;t open it. If using Acrobat, which can create PDFs from HTML, it would auto-convert the HTML response into a new PDF and display it.</p>
<blockquote><p>basically presenting a confirmation PDF in return</p></blockquote>
<p>In this case, you must be submitting the form as a PDF from Acrobat (or the PDF is <a href="http://www.adobe.com/products/livecycle/readerextensions/" rel="nofollow">extended</a> to allow Reader to submit PDF).</p>
<p>I don&#8217;t want to divulge all my secrets but I will say that when the PDF is submitted to the service, the service looks at the content type and handles the case where it&#8217;s &#8220;application/pdf&#8221;, resulting in the browser loading the PDF in the Acrobat/Reader plug-in.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billy</title>
		<link>http://forms.stefcameron.com/data-services/#comment-7069</link>
		<dc:creator>Billy</dc:creator>
		<pubDate>Tue, 26 Jan 2010 23:17:03 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/?page_id=393#comment-7069</guid>
		<description>Hi Stef,

Your site has a ton of useful information and I am just beginning to develop forms using LifeCycle.  My goal is to be able to take a PDF form and use it to submit to a database that is available online.  Given what I know so far, it seems like HTTP Post is the way I want to go because I know enough about scripting languages to develop a page to handle it.  However, I have ran into issues with Adobe throwing an error when I try to submit because it doesnt know how to handle the HTML that is returning to Reader.

Then I came across your dataservice example and it works so well -- basically presenting a confirmation PDF in return.  How did you do that and are there any samples/examples of the code that you can point me to that will help me write a similar service for my own web server.

Thanks for all the great info,
Billy from VA</description>
		<content:encoded><![CDATA[<p>Hi Stef,</p>
<p>Your site has a ton of useful information and I am just beginning to develop forms using LifeCycle.  My goal is to be able to take a PDF form and use it to submit to a database that is available online.  Given what I know so far, it seems like HTTP Post is the way I want to go because I know enough about scripting languages to develop a page to handle it.  However, I have ran into issues with Adobe throwing an error when I try to submit because it doesnt know how to handle the HTML that is returning to Reader.</p>
<p>Then I came across your dataservice example and it works so well &#8212; basically presenting a confirmation PDF in return.  How did you do that and are there any samples/examples of the code that you can point me to that will help me write a similar service for my own web server.</p>
<p>Thanks for all the great info,<br />
Billy from VA</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/data-services/#comment-7068</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Fri, 18 Dec 2009 21:15:58 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/?page_id=393#comment-7068</guid>
		<description>qais,

See my tutorial on &lt;a href=&quot;http://forms.stefcameron.com/2006/09/18/connecting-a-form-to-a-database/&quot; rel=&quot;nofollow&quot;&gt;connecting to a database&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>qais,</p>
<p>See my tutorial on <a href="http://forms.stefcameron.com/2006/09/18/connecting-a-form-to-a-database/" rel="nofollow">connecting to a database</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: qais</title>
		<link>http://forms.stefcameron.com/data-services/#comment-7067</link>
		<dc:creator>qais</dc:creator>
		<pubDate>Fri, 18 Dec 2009 20:11:02 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/?page_id=393#comment-7067</guid>
		<description>Hi Sir
I Need Help For DataBase Access With One Table
How Can I Add Button And A Script To Add New Record In Table
Please Help Me

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Sir<br />
I Need Help For DataBase Access With One Table<br />
How Can I Add Button And A Script To Add New Record In Table<br />
Please Help Me</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

