Hi,
I'm looking a solution for retrieve a value from a web page, so far I have a button and when I click I use a very simple code:
var myURL = "http://www.joelhainley.com/examples/soap/scramble.wsdl"
var myProxy = SOAP.connect(myURL);
var result = myProxy.getMirror("test");
oText.value = result;
That works perfect in Acrobat 9 but not in Reader, the error message is :
"NotAllowedError: Security settings prevent access to this property or method."
So far all my research point something about a special extended right that I can only do it using a $$$$$ LiveCycle product.
I refuse to think that's the only way I can get the response from the server (or maybe yes and I wasted hours LOL)
Is any other method available that I can use like:
var html = CoolObject.DownloadString("http://www.server.com/test.php?parameter=test")
Thanks for your help
Diego
Or if it's your webservice. Rewrite it to be a sever script that will talk to PDF.
In Acrobat 9 and later you could use Actionscript in a Rich Media Annot to talk to the webservice.
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script