Submit XML from script without navigating client away?
Is it possible to submit a form (XML over HTTP) without the client application navigating away (to the page which I am submitting to)?
I agree with you Brad about the seemingly under-implemented submit function. It's as though someone has thought, "Well, because it's HTTP we must follow the request-response protocol and display the response from the server." But not really followed through on the consequences of this. It would have been nice to have a flag which controlled if the response can be ignored.
Using Form Server we have returned flat "receipt" PDF's, which can be displayed in both Reader, Acrobat and in a browser with a PDF plug-in. This is a pretty simple solution, but for a customised receipt it does require Form server.
Another solution would be to use SOAP/Webservices. Data can be delivered to a system without the user navigating away from the current PDF. It's a little more to implement but works quite well - and it fits the bill of XML over HTTP.
There is a chapter on programatically using SOAP in the Acrobat Javascript Scripting Guide.
Regards
Anthony Jereley
Indigo Pacific
www.indigopacific.com
Similar Messages
-
Email from captivate without local client
Just like in YouTube (and similar). The user clicks email and the form appears, addressee is filled in, subject can be typed (or is automatic), message typed (or can be automatic), then click send and away it goes--without the need for a local email client. My learners click the email link and complain that MS Outlook comes up and they don't have Outlook. I know why that happens and the workaround but I don't have a way to get all the end users to configure their web browser's default email client. We work with 4500+ volunteers and the systems they use to take our courses are varied and outside our sphere of control. Also, the end users are unlikely to configure their email client if they click our email link in Captivate and get a message about Outlook not being configured (or installed).
Is there a widget that will do it?
Thank you.
Captivate 5.5
Windows 7 (64)
i5 with 4GB
eLearning Suite 2.5Trying to use email reporting via the default methods available in Captivate is unlikely to be successful under the circumstances you describe where end user email clients and configurations are widely varied.
This forum contains many posts from users that have experienced issues with email reporting. It's not Captivate's fault per se. It's just due to the fact that there are too many variables involved in the way email is handled on end user's PCs. -
Script to submit XML via Live cycle designer
H
I am using sumit button to submit the XML in Live cycle designer . here i am speecified in the dropdown submit as XML .
and the presubmit the following code used to specify the URL .
this.resolveNode("#event").submit.target
Like same as above i want to specify the sumit as XML also using script .Please provide some idea
1.to sumit the XML to the particuler URL without using submit buuton or
2. Provide some scrpits to submit the XML using submit button
the reason for above need is to add/remove some tags from submit XML before submittingIs any script availble like below to submit as XML ?
this.resolveNode("#event").submit.target = mailto:URL (Used to submit pass submit URL dyanmically ). I need the code to submit as XML .
Thanks in Advance -
Submit form without email client
we have recently acquired Reader Extensions with the main aim of allowing submission of forms by citizens online without the form actually asking the user for an email client on the PC.
Developer uploaded the form and applied rights on the form through the reader extensions, but on returning back the form from the server, the "submit" button on the form stillasks for the email client on the local PC. The 'Submit email' button automatically generates the email client popup. is there any way to go round this, i.e, the public can fill in a form online from anywhere without the form actually asking for an email client on the PC ? Pls help. we were told that Reader Extensions was the solution for this problem.Usually the PDF submit by email button when used in Reader will ask whether they want to send it via an email client or save it to use with webmail e.g. Hotmail. The first selection will automatically open the default client on the computer (Outlook, Windows Mail etc) and launch a new message automatically populated with the email address to send to, subject and PDF attachment, as specified by the form author, ready for the user to press send. The webmail option allows the user to just save the PDF form on the desktop and manually log into their webmail account, create a new message, enter the email address to send to and attach the PDF previously saved.
The process isn't ideal and causes email submit to be either unreliable or generates questions from the user who are unsure how to proceed. We have a server-side system that eliminates this standard process and allows the a submit button to be placed on the form that uses http submission to our server, which then automatically dispatches the completed form to your email address as a PDF attachment. Its quick and simple, all the user does is complete the form, press send and then press OK to the thank you pop-up and moments later you get the email.
It was initially intended to be used privately for our own clients however a few weeks ago I started offering it to anybody that needs this facility, it doesn't cost much and I can let you try it out on your form upfront. Just go to www.pdf2email.co.uk for more information. A while ago it took me hours upon hours of research to find a solution and it took quite an investment in time and money to set it up but it has most deffinately been worth it.
Regards,
Ben -
Command to Export project as Final Cut Pro XML from jsx script
Hi All,
Can somebody get me the command to export the project as final cut pro xml from jsx script.
I was using the extension builder script earlier for cs6 panel development, so we were using pjct.exportFinalCutProXML("pathname");
Now I am working for panel in Premiere CC so working on HTML 5 panel and qe dom scripting(.jsx).
In some jsx examples i got there is script to export sequence as final cut pro xml but cannot get the code for project export.
project.activeSequence.exportAsFinalCutProXML(entire_out_path);
Also please let me know if there are any kind of reference available about all the functions and properties in the pe dom scripting for premiere pro cc.
I am using premiere pro cc 7.1, windows 7, Eclipse Kepler.
Thanks in advance,
Anoop NRWhen you reimport the exported project XML to FCP, do you get the full project or just the single bin/sequence? If you get the full project then it sounds like you need Premiere help, not FCP help ... have you tried asking on the Adobe forums? If you only get the single bin/sequence then it seems you might have inadvertently selected those prior to creating the project export. Try making sure that your FCP Browser window is active and that you have not selected anything within that window prior to using the File > Export > XML command. If that still causes issue then you might try using an earlier FCP XML version.
Hope it helps
Andy -
Update Symbol and Symbol Script without removing from Document library
Is there a way in fireworks CS5.1 to update a symbol and the corresponding symbol script without removing it from the document library like it suggests in the below article
http://www.adobe.com/designcenter/fireworks/articles/frwcs3_richsymbol_print.htmlI have done some more research on this question and there appears to be no way to update a symbol script without removing it from the document library, hopefully this bug will be patched in the near future
-
Script for Batch Exporting XML from IDCS3 files
Does anyone have a script they would share for batch exporting XML from IDCS3 files? I do not know anything about scripting so I do not know how to write one myself. I've also searched around and cannot find anything. I would appreciate any help with this anyone can offer.
Thanks,
JanineOr use below Code:
try {
inFolderName= Folder.selectDialog ("Input Folder:");
outFolderName= Folder.selectDialog ("Output Folder:");
if ((inFolderName != null) && (outFolderName != null))
var idFileFolder = new Folder(inFolderName);
var files = idFileFolder.getFiles("*.indd");
for(myCounter = 0; myCounter < files.length; myCounter++)
var theDocument = app.open(File(files[myCounter]));
with ( theDocument ) {
myXMLFile = new File(outFolderName + "/" + name.replace(".indd","") + ".xml" );
exportFile( ExportFormat.xml, myXMLFile );
close(SaveOptions.no);
catch (err ) {
alert("All files export");
Shonky -
How to connect from java without using oracle client installation
hi ,
Please tell me how to connect from java without using oracle client
Thanks & Regarshttp://www.orafaq.com/wiki/JDBC#Thin_driver
-
Submit Button to submit xml data of form to a server folder
I have Livecycle ES2 vs 9 on Windows 7.
I have created a form that our users will fill out in adobe reader. I would like them to be able to hit the submit button and it send the xml data to a specified folder on our server.
I created a submit button from from the generic "button", chose to use as a "submit" control type, then entered the servers url as http://<my server name>:<Open Port>/<Folder name on the server>/
I chose to submit as XML data
When I test the button, a box willl pop up saying "Preparing for submit..." then immediatley changes to "Receiving Data".
The problem is that the box freezes on "receiving Data" but I do not need to receive data, I just need to dump the xml data to the folder on my server.
I have used a variety of urls with and without the port#, or without the http: but with backslashes but get the error "An error occurred during the submit process. There was a problem connecting to the server." I feel the latest URL with the port# is at least closer by trying to communicate with the server.
Not sure what I am missing but I have seen in other forums where some have used PHP code or a servlet but I have no experience with either and the forums did not cover the scripting and where it needs to be placed.
Can someone help me?
ThanksAs far as I know you canit simply write a file to the server using HTTP protocol. If your server was set up as an FTP server you coudl use the FTP protocol (but Acrobat does not support that). You can post the file to a server program (as you mentioned a servlet or JSP or whatever your server supports) and it can in turn write it to your server location.
Hope that helps
Paul -
Parsing an xml output of a ws-client using JDOM
how do i use jdom to parse an output from a web service client,
ive been using JDev. 10g, was able to create a web service client to consume and return the output in the form of an xml.
i want to be able to parse the xml doc into variables such that i can insert them into the database.
is it possible to parse without saving it?
cheers,
Shivek Sachdevhow do i use jdom to parse an output from a web service client,
ive been using JDev. 10g, was able to create a web service client to consume and return the output in the form of an xml.
i want to be able to parse the xml doc into variables such that i can insert them into the database.
is it possible to parse without saving it?
cheers,
Shivek Sachdev -
Need of XI to send an XML from one SAP system to another SAP system
Dear colleagues,
I work in the SRM solution.
In SRM there is a Purchaser and Supplier scenario called Supplier Self Services.
The Purchaser creates a Purchase order and sends it to the supplier in form of an XML file.
The purchaser system and supplier system are the same SAP system but different clients.
Example: Purchaser client is 300 and Supplier client is 330 and both of them are on the same system.
I have a very basic question.
Currently we have the XI system which acts as an interface to send the Purchaser PO XML to the Supplier as XML.
a)My question is in case the XML structure is identical across both the clients, then what is the need of XI system?
b) Is it not possible to send XML from one client to another without an XI system? there si no need of any message mapping required since I am expecting the same XML structure in both clients.
Please clarify the need of XI system in the following scenario. Is it not possible without XI?
Many thanks.
Best regards,
SrivatsaHi Srivatsa,
YOu can send the XML message from one sap system to another sap system even without an XI system in between.
But the use of SAP XI (Or any other middleware) is recommended because, it gives you the following advantages.
1) Better monitoring and alerting mechanism. XI provides you robust set of tools that let you monitor the status of the messages that are exchanged.
2) Direct communication between systems is referred to as Point to Point communication, which has its own disadvantages as against Hub and SPoke model (Message exchange using XI).
3) Message delivery is guaranteed if you have XI in between.
If the target system is down, the sender sap system will not try multiple times to post the message.
But if you use XI, it can be configured to send the message multiple times, till it succeeds.
Regards,
Ravi Kanth Talagana -
Urgent:How to modify a script without changing the print programme
Hi all,
Can any body pls tell me <b>How to modify a script without changing the print programme</b>
Give m esome real time examples.
Good points willbe rewarded
ThanksHi
You can write a external Subroutine to fetch the extra data into the script program
see the following sample code
How to call a subroutine form SAPscripts
The Form :
/:PERFORM CDE_CENT IN PROGRAM ZKRPMM_PERFORM_Z1MEDRUCK
/:USING &EKKO-EBELN&
/:CHANGING &CDECENT&
/:ENDPERFORM
The report :
REPORT zkrpmm_perform_z1medruck .
DATA : BEGIN OF it_input_table OCCURS 10.
INCLUDE STRUCTURE itcsy.
DATA : END OF it_input_table.
déclaration de la table output_table contenant les
variables exportées
DATA : BEGIN OF it_output_table OCCURS 0.
INCLUDE STRUCTURE itcsy.
DATA : END OF it_output_table.
DATA : w_ebeln LIKE ekko-ebeln,
w_vbeln LIKE vbak-vbeln,
w_zcdffa LIKE vbak-zcdffa.
FORM CDE_CENT
FORM cde_cent TABLES input output.
it_input_table[] = input[].
it_output_table[] = output[].
READ TABLE it_input_table INDEX 1.
MOVE it_input_table-value TO w_ebeln.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = w_ebeln
IMPORTING
output = w_ebeln.
SELECT SINGLE zcdffa FROM ekko
INTO w_zcdffa
WHERE ebeln = w_ebeln.
it_output_table-name = 'CDECENT'.
MOVE w_zcdffa TO it_output_table-value.
MODIFY it_output_table INDEX 1.
output[] = it_output_table[].
ENDFORM.
COPING SCRIPT
There are some Standard Sap Scripts in SAP. We cant directly execute them in scripts we have to use some T-codes and by giving some input to the required fields we can see the output printform.
I will show one example. There are some Standard Sap Scripts such as MEDRUCK which is a standard Sap Script for Purchase Order and RVINVOICE01 for billing and so on...
To see oupt of MEDRUCK go to T-code ME9F give purchase order number and execute select one number and click on dislplay messages button on application tool bar you can find the print form of MEDRUCK.
You cannot change the Standard Sap Scripts but you can use Standard Sap Scripts and Copy them to userdefined Script and can make changes to them and replace standard Sap Script with usedefind script.
Ex: Go to SE71,
on menu bar u find Utilities->copy from Client. click on it u ll find new screen showing
Form name:
Source Clinet:
Target Form:
give Form name as usedefined form name EX: ZFORM1
Source client as 000 and
Target form as MEDRUCK.
execute.
Now, the standard from MEDRUCK is copyied to your form ZFORM1.
NOW, go to SE71 and give form name as ZFORM1 and do some changes to the form such as adding logo any thing. save and Activate.
Now, you have done changes to the Form ZFORM1 and u have to replace your form with standard SAP Script.
Go to NACE Transaction.
on Applications select EF for purchase order and click Output types button on application tool bar.
now select NEU as output types dobule click on Processing Routines.
now click on Change option on application tool bar and on right side u find MEDRUCK in form place replace MEDRUCK with ZFORM1 and SAVE.
go back twice and now go to T-code ME9F give the purchase order number and execute and select one option and click on display messges button .
you will find the changes that you have done in ZFORM1. so we cant chage the standard Sap Scripts by copying the Standard Sap Scripts we can chage and replace with our forms
Refer
https://forums.sdn.sap.com/click.jspa?searchID=4089895&messageID=3239299
Regards
Message was edited by:
Kiran Sure(skk) -
How to receive XML from Flex HTTP POST
Hi,
We curreontly have a setup where we have a FLEX frontend send an XML through a HTTP POST and awaiting a response also in XML. On the backend this is handled relatively simply by a PHP script that basically does the following:
read data (in XML)from FlEX HTTP POST into a new temp XML file.
execute a c++ program with the XML file as one of the parameter.
return the result to FLEX
We have decided to move to BlazeDS for various reasons.
Looking at the examples bundled with BlazeDS they have a jsp example that returns an XML result to FLEX so that part is fine. I am trying to find an example of JSP (or Servlet) that is able to read the XML data from FLEX and write it into a temp XML file. I would then try to use runtime.exec to invoke a local C++ program to process the XML file the result of which will be sent back to FLEX.
Any help will be very much appreciated!<div class=Section1><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>I’d avoid calling an executable just to process XML –your<br />application server would provide enough support for reading and writing XML, no?<br />Also, if you’re only planning on working with XML then even BlazeDS might<br />be overkill because its focus is on sending strongly typed ActionScript data efficiently<br />to and from a client (it’s true that it does have a proxy service, but<br />that is not involved with processing the actual XML data).<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>How complex is your XML? Do you need to resolve ids and<br />references or can you parse it top down in a single pass? There are several<br />well known libraries in Java for dealing with XML – the choice depends on<br />how you need to interact with the XML. Most of them take an InputStream as a<br />source for reading XML and you can get the InputStream from the servlet<br />request. Googling should turn up numerous examples.<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Pete<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><br /><br /><div><br /><br /><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><br /><br /><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span<br />style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> khwong<br />[mailto:[email protected]] <br><br /><b>Sent:</b> Sunday, September 28, 2008 12:09 PM<br><br /><b>To:</b> [email protected]<br><br /><b>Subject:</b> How to receive XML from Flex HTTP POST<o:p></o:p></span></p><br /><br /></div><br /><br /></div><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>A new discussion was started by<br />khwong in <br><br /><br><br /><b>General Discussion</b> --<br><br /> How to receive XML from Flex HTTP POST<br><br /><br><br />Hi, <br><br /><br><br />We curreontly have a setup where we have a FLEX frontend send an XML through a<br />HTTP POST and awaiting a response also in XML. On the backend this is handled<br />relatively simply by a PHP script that basically does the following: <br><br /><br><br />read data (in XML)from FlEX HTTP POST into a new temp XML file. <br><br />execute a c++ program with the XML file as one of the parameter. <br><br />return the result to FLEX <br><br /><br><br />We have decided to move to BlazeDS for various reasons. <br><br /><br><br />Looking at the examples bundled with BlazeDS they have a jsp example that<br />returns an XML result to FLEX so that part is fine. I am trying to find an<br />example of JSP (or Servlet) that is able to read the XML data from FLEX and<br />write it into a temp XML file. I would then try to use runtime.exec to invoke a<br />local C++ program to process the XML file the result of which will be sent back<br />to FLEX. <br><br /><br><br />Any help will be very much appreciated! <o:p></o:p></p><br /><br /><div class=MsoNormal><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b69b23">How to receive XML from<br />Flex HTTP POST</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b69b23!folder=.3c061a83">unsubscribe</a>< br />form to cancel your email subscription.<o:p></o:p></p><br /><br /></div><br /><br /></div>
-
How to export table xml from ID CS4
Hi,
Could any one clarify my below doubts.
I have an xml file for Table. The root tag <informaltable> of the table have the attributes id="xx" and float="0". This xml file is imported into the Indesign document without any problem. But when I export the xml from Indesign, these attributes were not exported. Only the XML tag is exported.
Could anyone tell how to export this table root tag with its attributes.
Thanks,
GopalApology for bu** in, but my general practice (or for that matter mentioned scripting manual) is that
function ProcessProduct(){
this.name = "ProcessElements";
this.xpath = "//B/C";
should be
function ProcessProduct(){
this.name = "ProcessProduct";
this.xpath = "//B/C";
name of the rule and matches theRuleName,but both of them seems to be working fine here.
Defining correctly in ruleset does the trick
var myRuleSet = new Array (new ProcessProduct);
Does it not matter for having the same name or I am missing something.
--PC -
How to create a new Oracle OSB project automaticaly with script without IDE
Hello,
I want to create automatically an "Oracle service bus project" and an "Oracle service bus configuration project" with scripts (ANT or Maven or ...) without using IDE, without using workshop or Eclipse. I want to create automatically (ANT or Maven) just a skeleton of an OSB project witch i can use after in workshop.
I want to create 1 "Oracle service bus configuration project" with many "Oracle service bus project" automatically (ANT or Maven or scripts) witch i can use after in workshop. How to create a new Oracle OSB project automaticaly with script without IDE ? How can i do this ?
I'm using Oracle service bus 10.3.1
Thank you for your help.Thank you for your response,
I do not want to just create the services (proxy services and business services) but I want to create a template for 40 OSB project with the same scripts ANT/Maven.
Template="Oracle service bus configuration project" + "Oracle service bus project" + services of 40 OSB projects
The goal is that I have more than 40 projects to create and just the name of the projects that changes (when I say the name of the project ie the name of the OSB project, the name of proxy services and the name of business services ).
So I want to give my script (ANT/Maven) the name of 40 OSB project and the script must generate the skeleton of the 40 projects at once time and after generation of skeleton of the 40 project, I will import them in the workshop to add manually mapping and routing and other things that differs from one project to another.
So i want to generate automatically a skeletons of 40 OSB projects using a script (ANT / Maven) and I give to the script juste the names of the 40 projects.
I want to create a "Oracle service bus configuration project" and "Oracle service bus project" automatically of 40 OSB projects (ANT or Maven or scripts) witch i can use after in workshop.
I want to create one 'template' of all 40 projects in the same time, with the same directory structure (Transforlation, Business services, proxy services, WSDL .....) and all 40 project have the same transport, just the names of projects and services witch changes and i can give to the script all names of projects and services and i can give also all WSDL.
Regards,
Tarik
Maybe you are looking for
-
I have had an iPad 2 for 10 months with Apple ID. Now I have new iPhone 5s which will not allow me to use my old e.mail address so I had to change it also in apple account. Now, every time I try to use apple or icloud the sign in comes up with the "o
-
My iPod touch 3rd gen is stuck on apple logo
My iPod touch 3rd gen is stuck on the white apple logo. It will not manually restart/restore if I hold the power and menu button. It does auto restart about every 15 minutes on its own. If I plug it into my computer, both my computer and iTunes will
-
I really, really need to convert a VOB video file to some other format so I can edit it. This is a studio produced televised interview which I want to chop into 304 minute segments and post on Youtube and my web site. I read the discussion (#1936489)
-
Multiple pack level hierarchies
Hi, i want to use multiple hierarchies with fixed device controllers created by the parameter value (hierarchy_by_epc_filter) of the activity device_validate_40 in the rule pack. Is it possible to build multiple hierarchies, considering the scenario
-
IPhoto 08 Web Gallery Auto-resize?
I am using iPhoto 08 to create a Web Gallery but have very large photo files. Does iPhoto upload at the original file size or does it automatically scale down to sizes more appropriate for web viewing? I want to ensure people can download photos from