How to submit pdf xml data to a file server

Hi, I am hoping someone can help me. I have created a dynamic pdf in livecycle designer ES, which appears as the requester wants it to. I now just need to work out how to collect the submitted data. Is it possible to submit the xml data to a file server? I have succeeded in emailing the data, but each response is separate xml attachment and would then need to collated, etc. It would be preferable to submit the data directly to a file server if this is possible. Even if it submitted into a database or something. From everything I have read so far, it seems that this is not possible, unless I am missing something. As a newbie to this, any assistance would be much appreciated. Thank you.

You can submit the data as XML or URL-encoded data (HTTP POST). In either case you will need to have a server-side process to receive and parse the data stream. The server-side process may be a JSP, a servlet, PHP or any technology that can manage HTTP requests/responses.
See About submitting data using a button at http://help.adobe.com/en_US/livecycle/9.0/designerHelp/000330.html .
Steve

Similar Messages

  • How to write non-XML data to a file using an OSB FTP Routing?

    Hi --
    Situation ... I need to write non-XML data to a file using FTP. A proxy service retrieves XML and transforms it with XSLT to CSV format, then gives it to a Biz service to file it out, using FTP. Simple.
    Problem ... OSB sends the contents of $body to any service it calls. Because $body is a SOAP document, it has to contain XML. So therefore I have to put my CSV data into an XML element, in order to put it into $body; and this inner element then gets written to the file, which I don’t want. But if I don't enclose my CSV content in a tag, I get "Unexpected CDATA encountered" trying to assign it to a variable.
    There has to be away around this!
    Thanks for your help.
    John Taylor

    Solved. Steps:
    -- Transform the XML to CSV using an XSL transform. Put the CSV data inside enclosing XML elements, and use a Replace action to put the XML element + CSV contents back into *$body*.
    -- Define an MFL transform that only knows about the enclosing XML elements. Use a delimiter of "\n" (hard return).
    -- Route from the proxy service to a Biz service that has Service Type = Messaging Service and Request Message Type = MFL; specify the MFL transform, which will receive the incoming *$body* variable, strip off the enclosing XML element within it, and pass the CSV contents to the FTP service.
    Edited by: DunedainRanger on Nov 29, 2011 9:03 AM

  • How can i manage old data on my file server that as not been used for over 2 years?

    I have 4 file servers and more then 50% of the data is older then 2 years
    I would like to move that data to another san, slower but i would like the user to have access by shortcut on there share
    Would make it faster to backup because the drive would be 50% less big and would not affect users because they would see the same thing in there share it would just be a little lomnger to open file upon need.
    Thanks
    I have an environement 2008r2 but can transfert everything to a 2012 r2 if needed
    Thanks

    robocopy is the tool I recommend to use for that. See that: https://social.technet.microsoft.com/Forums/windowsserver/en-US/51e5f602-b7f2-4d06-adda-1372c30f6250/help-for-script-to-move-old-files?forum=winserverpowershell
    You can also add the shortcuts using a script: http://superuser.com/questions/455364/how-to-create-a-shortcut-using-a-batch-script
    More if you ask them in the Scripting forum: https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • Submit pdf form data to sql database

    Where I can find detailed information on the process of sending data from pdf form stored on the website to the sql database stored on web server ?? Where I can find some samples I could use to build my form and related script(s).
    Thanks for advice.
    Tony

    Hi Paul,
    Thank you very much for your quick response. I can not retrieve your
    attachments, so please send them by email. Thank you.
    What does it mean that DSN has to be set up on each machine which will run
    the form ??? Does it mean for each person who will use the form ?? or
    rather once on the server where the form is hosted ??? It will be a bit
    difficult to use if it will have to be installed on each user computers as
    some users may not be happy to do it. If this is the case do you have any
    solution you would recommend which will collect the data from the form
    without asking users to do anything special on their computers ????
    Regards,
    Tony Pluta
    Graphics Designer
    Broadmeadow Road
    Broadmeadow NSW 2292
    Australia
    Direct: +61 2 9492 1277
    Facsimile: +61 2 9462 1383
    Mobile: +61 403 399 167
    [email protected]
    www.unitedgroupltd.com
    pguerett <[email protected]>
    22/04/2009 10:31 PM
    Please respond to
    [email protected]
    To
    Tony Pluta <[email protected]>
    cc
    Subject
    submit pdf form data to sql database
    If you want the form to contact the DB directly you will have to set up a
    DSN on each of the machines that will run the form. Note that this wil
    only work on Windows machines. Also the form must be launched for the
    script to run (you mentioned the PDF was stored on the web server). I have
    some samples that show how to deal with a DB but the attachments do not
    seem to be working correctly on the forum yet. If you cannot retrieve them
    post your email and I will email them to you directly.
    Paul

  • How to parse thus XML data?

    Hi,experts:
    In below thread:
    Receiving .Net dataset with deployed proxies
    i asked how to create a external definition in IR base on above XML data.
    Now,i have created a XSD file base on the XML data.And importing it into IR successfully.
    <?xml version="1.0" encoding="utf-8"?>
    <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:Locale="zh-CN">
    <xs:complexType>
    <xs:choice maxOccurs="unbounded">
    <xs:element name="Status">
    <xs:complexType>
    <xs:attribute name="Result" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    And now,the question is how to parse the XML data in diffgr:diffgram  segment.It seems a MS-XML syntax.Can it be parsed by XI?
    I tried,but the following error occurs:
    com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:ZMT_SD_ORDER01_RESULT. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start

    Hi,
    The above Exception seems to be because of mapping error.
    Check your mapping for all the mandatory 1-1 mapping, also the 1-unbounded parent node mapping.
    Once when you import the XSD and activate your External Definition if it does without any error then there is no problem with your External Definition.
    If this error occurs only when you test your mapping then this is mapping error and not because of XSD.
    Please check the parent node mapping like 1-unbounded.
    Reward Points if useful
    Regards
    Ashmi.

  • How to write xml data to a file

    Hi all,
    We have a requirement of writing the xml data into a file in given directory in the server. Generating the xml data using the sql query below.
    SELECT XMLELEMENT ("ROW",
    XMLELEMENT ("CELL", xmlattributes ('EBIZCZMDL_01' AS "colname"), inventory_item_id),
    XMLELEMENT ("CELL", xmlattributes ('EBIZFFMT_01' AS "COLNAME"), attribute29),
    XMLELEMENT ("CELL", xmlattributes ('COMMON' AS "COLNAME"),inventory_item_id || '' || attribute29 || 'ITM')
    AS "RESULT") "XMLDATA"
    FROM apps.mtl_system_items_b
    When we try to write the the data from this query to a file using UTL_FILE.put_line, the script gives the error
    PLS-00306: wrong number or types of arguments in call to 'PUT_LINE'
    If somebody can help us pls.......
    Thanks in advance

    Hi Odie,
    We are looking at the xml data to be like the below:
    - <xref xmlns="http://xmlns.oracle.com/xref">
    - <table name="NAPP_ITEM_ITEMID">
    - <columns>
    <column name="EBIZFFMT_01" />
    <column name="COMMON" />
    <column name="EBIZQOT_01" />
    <column name="EBIZCZMDL_01" />
    <column name="EBIZCZGOLD_01" />
    </columns>
    - <rows>
    - <row>
    <cell colName="EBIZFFMT_01">154</cell>
    <cell colName="COMMON">154811809990111362727</cell>
    <cell colName="EBIZQOT_01">81</cell>
    <cell colName="EBIZCZMDL_01">91</cell>
    <cell colName="EBIZCZGOLD_01">991</cell>
    </row>
    - <row>
    <cell colName="EBIZFFMT_01">180</cell>
    <cell colName="COMMON">180811809990111362727</cell>
    <cell colName="EBIZQOT_01">871</cell>
    <cell colName="EBIZCZMDL_01">731</cell>
    <cell colName="EBIZCZGOLD_01">341</cell>
    </row>
    </rows>
    </table>
    </xref>
    We have managed half way trying to get the structure. As we are new to this XML Programming.
    The call to dbms_xslprocessor.clob2file is within the cursor loop for the given SQL.
    DECLARE
    l_file_name VARCHAR2 (30);
    l_file_path VARCHAR2 (200);
    CURSOR xml_cur
    IS
    SELECT XMLELEMENT
    ("ROW",
    XMLELEMENT ("CELL",
    xmlattributes ('EBIZCZMDL_01' AS "colname"),
    inventory_item_id
    XMLELEMENT ("CELL",
    xmlattributes ('EBIZFFMT_01' AS "COLNAME"),
    attribute29
    XMLELEMENT ("CELL",
    xmlattributes ('COMMON' AS "COLNAME"),
    inventory_item_id || '' || attribute29 || 'ITM'
    ) AS "RESULT"
    ) "XMLDATA"
    FROM apps.mtl_system_items_b
    WHERE attribute29 IS NOT NULL;
    BEGIN
    l_file_path := '/usr/tmp';
    l_file_name := 'TEST_XREF4.xml';
    FOR xml_rec IN xml_cur
    LOOP
    dbms_xslprocessor.clob2file(xml_rec.XMLDATA, l_file_path, l_file_name, nls_charset_id('UTF8') );
    END LOOP;
    END;
    Please see the above code snippet and help us if we are doing something wrong.
    Thank you

  • HOW CAN U CORRECT THE DATA IN UR FILE WHICH CONTAINS 1 LAKSH RECS

    Hai Frnds,
    i Attend an interview they asked this questions can u know the answeres . tell me .
    In File to file scenario how can we reprocess records which failed records.
    HOW CAN U CORRECT THE DATA IN UR FILE WHICH CONTAINS 1 LAKSH RECS
    Thanks in advance
    thahir

    Hi,
    Refer these links:
    this might help you
    Generic Approach for Validating Incoming Flat File in SAP XI - Part 1
    Generic Approach for Validating Incoming Flat File in SAP XI - Part 1
    validating against schema file for the output XML file
    Informing the sender about bad records
    Regards,
    Nithiyanandam

  • Like to understand - Stream DataSet (of XML data) to ZIP file?

    i have similar kind of requirement where i need to save dataset data in multi part zip file. from this site i got a sample code
    .NET - Stream DataSet (of XML data) to ZIP file? but few area is not clear.
    the sample code as follows
    // get connection to the database
    var c1= new System.Data.SqlClient.SqlConnection(connstring1);
    var da = new System.Data.SqlClient.SqlDataAdapter()
    SelectCommand= new System.Data.SqlClient.SqlCommand(strSelect, c1)
    DataSet ds1 = new DataSet();
    // fill the dataset with the SELECT
    da.Fill(ds1, "Invoices");
    // write the XML for that DataSet into a zip file (split into 1mb chunks)
    using(Ionic.Zip.ZipFile zip = new Ionic.Zip.ZipFile())
    zip.MaxOutputSegmentSize = 1024*1024;
    zip.AddEntry(zipEntryName, (name,stream) => ds1.WriteXml(stream) );
    zip.Save(zipFileName);
    how this word code Ionic they are using dotnet zip library ? tell me what is
    Ionic
    i guess this line zip.MaxOutputSegmentSize = 1024*1024; means each segment size would be 1mb ? am i right ?
    this line is not clear
    zip.AddEntry(zipEntryName, (name,stream) => ds1.WriteXml(stream) );
    what is the meaning of this (name,stream) stream never declared but how they can use ?
    tell me what is the meaning of this line zip.AddEntry(zipEntryName, (name,stream) => ds1.WriteXml(stream) ); what the code will do reading the above statement.
    suppose if the above code save dataset data in 5 separate zip file then what name will be used for each segment?
    if possible give me the code which will read all segment file and extract its content in a folder. thanks

    Ionic is a 3rd party library which can be download by click on the shortcut where you got the code.  I don't recommend using compiled 3rd part software unless the source code is provided.  Codeplex solutions are usually very reliable.
    Yes 1024 x 1024 is the 1mbyte size of the stream
    The library is using a Linq syntax.  So  simple Linq uses something like this
    .Select(x => x.ToString())  Where x is a variable name that can be any letter(s) you choose.  Select is part of an enumeration.  It is really just a shortcut instead of using a "FOR" statement.
    The line zip is more complicated version of Linq.  It is using two parameters (name,stream).  I don't think the code actually works and you would have to look at the documentation at the codeplex website.
    jdweng

  • Appending XML data to a file using file adaptor

    Hi,
    I am trying to append data to a file using file adaptor in XML format. (Objective is to store data as XML message in the file). I understand it is possible to append data to an existing file by making appropriate changes in WSDL manually. However, my issue is every time the XML data is appended to a file even the XML header message is also getting appended. As a result the file data does not adhere to defined schema structure anymore.
    Is there a way to save XML data in a file in append mode ?
    Thanks, Riz

    I am having the same issue as well, which makes the output XML an invalid one. I have an XSD that has a hierarchy of elements. whenever I am wiriting the child elements the header message & the name space is also getting written. For example
    <?xml version="1.0" ?><Parent xmlns="http://testSchema.com/outputSchema">
    <StartDate>01/01/2001</StartDate>
    <EndDate>01/30/2001</EndDate>
    <Child/>
    </Parent>
    <?xml version="1.0" ?><Child xmlns:ns1="http://testSchema.com/outputSchema">
    <ns1:Id>20012981</ns1:Id>
    <ns1:Value/>
    <ns1:Date>01/15/2001</ns1:Date>
    </Child>
    <?xml version="1.0" ?><Child xmlns:ns1="http://testSchema.com/outputSchema">
    <ns1:Id>20012981</ns1:Id>
    <ns1:Value/>
    <ns1:Date>01/15/2001</ns1:Date>
    </Child>
    I am using a onefile adapter partnerlink to write the parent & an another one for writing the child element, since the child elements will repeat more than once. One other way to fix this issue is write the data using java embedded activity, but that would need a lot of boiler plate code, for writing/reading/appending the same file & for handling all those IOexceptions & buffer IN/outs. I am curious if someone had the same issue & how they resolved it.

  • Not able to Parse XML data in Sun Application Server 8.2

    Iam not able to parse the xml data in sun application server,this is working fine in tomcat and oracle server.
    Please go thru the code , thanks in advance.This is used in ajax.
    function processStateChange() {
    if (req.readyState == 4) { // Complete
    if (req.status == 200) { // OK response
         var message=req.responseXML.getElementsByTagName("value")[0];
              setMessage(message.childNodes[0].nodeValue);
    //document.getElementById("theResponse").innerHTML = req.responseText;
              else
    alert("Problem: " + req.statusText);
              return true;
         }

    Use Notepad. Drag and drop in notepad.
    Aman

  • In Firefox 4 how can I cause the date on downloaded files to be the current date? (Some are and some are not. In FF3 the dates were ALWAYS the current ones.)

    In Firefox 4 how can I cause the date on downloaded files to be the current date? (Some are and some are not. In FF3 the dates were ALWAYS the current ones.)
    == This happened ==
    Every time Firefox opened
    == I upgraded to Firefox 4 (beta)

    Firefox 3.6.* and earlier set the downloaded file's modification time to the current time. In Firefox 4.0 the behavior has been changed, if a server returns a timestamp telling when the file was last modified (Last-Modified header), it is used instead.
    You can revert to the previous behaviour by using the [https://addons.mozilla.org/en-US/firefox/addon/93121/ Download Timestamp] add-on.

  • How can I embed XML data in a PDF?

    I want to embed XML data in a PDF so the file can be scanned for the data behind the document. Is there a standard way to do this?
    For example, if the PDF is a bank statement, the embedded XML would be the individual's account number and bank balances. It would not include any of the standard text in the statement such as the bank name, etc.
    I've read up on the XMP spec but that seems to be more metadata about the document (title, subject, etc.). And there is tagged content but that is an alternate view of the entire document.
    ??? - thanks - dave

    Although the XMP block is stored in XML, you can't just embed any XML file. The block has to follow the standard, which means that each data packet needs to be defined in a schema - as the name suggests, XMP is eXtendable so you can define new schema for local use, but you can't mess about with the standard ones and randomly add new tags. The schema itself isn't embedded in the file, it's referenced by a unique ID and URI. of course having a data packet in a custom schema doesn't mean any software will see it - Acrobat's Advanced Search can be told to scan the XMP block but  search engines only tend to bother with the basic tags such as 'title' and 'description'.
    To see what's currently in a PDF, open Document Properties > Description > Additional Metadata > Advanced.
    You can save the current XMP block as a text file (.xmp extension), and replace/append other XMP files. If you click the "i" icon on the top right of the Advanced dialog you can access system profiles - these can be created in other applications such as Bridge, but there's no profile manager in Acrobat itself.
    For technical information on working with XMP and creating new schema, see http://www.adobe.com/devnet/xmp.html
    Note that the XMP SDK for CS6 does not work in the Acrobat Family.

  • Submit as XML Data Issue

    I have a PDF form where I have set up a data connection to pull in data from an XML file to populate drop-down menus.  I'd like to submit the form as an XML file, only when the form is completed and submitted, only the fields that are bound by the data connection are submitted - not the remainder of the fields in the form.  There are roughly 15 other text, radio button, and checkbox fields that don't show up in the xml file generated by the form in Acrobat.  If I remove the data connection, and bindings on those fields, the data is saved in the XML file as needed.  How can I do both - import the data for the dropdowns, and also get all data exported when the form is completed.
    Any help would be appreciated!
    Thanks,
    Brad

    If you are going to use a dataconnection then all if the data must be combined into a single file. The exception to this is if the data is coming in from a web service. The reson for this is for schema support. The schema creates a single data file and all data must be contained within that data format. Can you combine the two xml data files into one then create your datasource form that?
    Paul

  • How to integrate the XML data received via email in to MySQL

    Hi,
    This is JK, my compnay is planning to adopt Adobe Livecycle Barcoded forms technology, We are planning to automate the Weekly report submission of the HR dept of my company, where the various employees from various branches will be submiting their weekly reports thru Barcoded forms via email and the data has to be fed in to a MySQL database for Analysis purpose.
    The problem is, i have designed the form and tested it, when i fill out the form and submit it via email, i get a XML to the mentioneid email id, but is it possible to import the bulk amount of XML data received thru email to the MySQL database without using 3rd party XML Parser.
    Does Adobe Livecycle supports any functionality where these data's after decoding or received thru email can directly be integrated in to MySQL.
    Any Suggestions?
    Regards,
    JK

    One thing that should be clear is that you do not need to purchase Reader Extensions to use Barcode Forms technology. Take a look at the 2 articles at the bottom of http://www.adobe.com/products/server/barcodedpaperforms/ they talk specifically about this issue.
    However, if you do not get RE with your Barcoded Forms license your end users will not be able to save the form off-line or submit electronically (other than data-only by email). They will be able to fill-in and print the forms only.
    By your post it sounds like you are getting Adobe LiveCycle Barcoded Forms and you have also licensed the decoder.
    The decoder itself works with a watched folder mechanism. So what you can do is create a small Java program that simply waits for decoded output from the output directory of the decoder and then populates your MySQL database. The code should be around a day to implement.
    Here is the link to the deployment article that talks about the RE requirement: http://www.adobe.com/products/server/barcodedpaperforms/pdfs/deploying_2d_barcodedpdfform s.pdf
    Your Java will basically do something like this (very incomplete sample)
    public class theThred extends Thread {
    public void start() {
    public void run() {
    while (true) {
    checkTheDirectoryCodeHere();
    gotSomethingWriteItHere();
    sleep(foreSomeNumberOfMilliseconds);
    public void checkTheDirectoryCodeHere() {
    Directory dir = new Directory("thePath");

  • Submit button - XML DATA

    Hi!
    I'm working with Adobe LiveCycle Designer 7.x to create forms..
    I need to "catch" the XML Data from a form using a perl script!
    At this moment I don't know how works the submit button internally.
    I figure out that when I create a Submit Button in a form with the XML Data option in the submit format list, and I put one http adress in the Submit to URL field, this is the target that LC Designer needs to know where put the data (in this case, just XML Data).
    Now, to complete the job, I need a script that "catch" the XML Data and in my case, save the XML file in my ISP Server..
    I'm learning perl but I don't know how do this task; could anyone help me?

    Trying some tests related to this Chris and I'm not sure I understand what I'm seeing.
    I wrote some code that takes the form you submit and dumps it back to the browser. I created a form that has three fields:
    TextField1
    Subform1
    TextField2
    TextField3
    So TextField2 is in a subform, TextField1 is on the page. When I type into each field and submit, what I get is:
    TextField1=aa&TextField3=cc
    This is the application/x-www-form-urlencoded body of the POST, which decodes to two fields, TextField1 and TextField3. I'm not sure why TextField2 didn't show up. Any ideas?
    SteveX
    Adobe Systems

Maybe you are looking for

  • How can I edit the audio in a QT file without having to transcode it first?

    I have some 320x256 QT files that feature some background noises that I want to edit out and dub over with some new audio. Is there an app that will let me do this while retaining the files at their native resolution? The only method I've found so fa

  • Looking for advice on adding GPS data to pictures in iPhoto

    I'm thinking about beginning the process of adding GPS location data to my pictures in iPhoto. I've got about 9,000 pictures overall but was going to start with the ones from this year (about 1,500) as a trial. My digital camera is not GPS-enabled no

  • How does one programatically determine what folders a given file is in?

    I'm attempting to get a list of the folders a given file is referenced in. It's quite easy given a folder to determine what files are in it, but the reverse seems to be more difficult. I can't seem to find a suitable function to do so. I've looked at

  • Automated HR Ad hoc queries

    We are creating background job for running the report in background...but i want the output(report) to send an email in Excel format after the job run successfully... The only problem is the attachemnt in the email we are getting it as HTML  (filenam

  • Crystal Report Viewer issues

    Hi, I'm starting with CR viewer for CR 2008 in VS 2008. I have 3 problems. Look like easy problems, buy during the morning, I didn't found any solution. 3 questions: - I want CR viewer  like "dock = fill". viewer size 100% height and 100% width. I se