Stefan Cameron on Forms
Building intelligent forms using Adobe LiveCycle Designer

Data Services

This page contains a listing of all the data services used in my tutorials. During the form development process, I often find I need some type of data service to test with and I can never find good ones (or the ones I once used are no longer available). These services are therefore meant to aid in development, testing and samples.

Movies XML Service

A simple XML service that provides information about movies (useful with HTTPService class in Flex/ActionScript when designing Form Guides).

Featured in the following tutorials:

HTTP Submit Test Service

A simple web page that displays data submitted to it in various formats (XML, XDP, PDF, URL-encoded). Use this to test HTTP submissions from XFA forms.

Featured in the following tutorials:


Posted by Stefan Cameron on July 15th, 2009
You can skip to the end and leave a response. Pinging is currently not allowed.

4 Responses to “Data Services”

  1. qais on December 18th, 2009

    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

  2. Stefan Cameron on December 18th, 2009

    qais,

    See my tutorial on connecting to a database.

  3. Billy on January 26th, 2010

    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

  4. Stefan Cameron on February 8th, 2010

    Billy,

    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.

    This is due to the fact that Reader cannot create PDF files. When it gets an HTML response, it can’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.

    basically presenting a confirmation PDF in return

    In this case, you must be submitting the form as a PDF from Acrobat (or the PDF is extended to allow Reader to submit PDF).

    I don’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’s “application/pdf”, resulting in the browser loading the PDF in the Acrobat/Reader plug-in.

Leave a Reply

Alternate Help: Unfortunately, I am not always able to keep track of older posts. Please feel free to continue discussions here or seek help at an Adobe Forum: Designer/Acrobat, Designer ES, Designer (v6-v8), XFA Forms, Acrobat, Reader.

If you're including scripts: To make sure your script and comment are properly interpreted, please make sure you replace any less-than ("<") characters with their character code equivalent: "&lt;" (without the quotes). Otherwise, your script and comment will inadvertently be cut short.