On Jun 3, 2008, at 4:41 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:
I have a requirement like this. I have a pdf with acro fields and submit button. on adding/changing values in acro fields user will press submit. this should call a webservice (WSDL call) and send the data as an XML. I want to achieve this using iText 1.4.6. I tried to use pdfAction.createSubmitForm() but can't get a proper idea to make it through.


You don't want to use a submitForm() action - instead you need to use a JavaScript action. In the JS action, you will use the SOAP object to construct your WSDL call, after reading the form data and building the XML (either using AcroJS's XML methods or the standard E4X techniques).

NOTE: such a form will NOT work in Adobe Reader. SOAP/WSDL is only support in Acrobat Standard and Pro.


Leonard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to