November 21, 201015 yr Hello, I use a script which encodes a query (for books on Amazon) and builds the url to reach after signing it ; it brings back either an xml file, either an html one in a filemaker webviewer, files I have to parse to get various informations of the book. That runs fine -and I must thank F. Seipel who helped me in that project- but a new problem occurs if the computer is behind a proxy nothing is in return ! What parameters are necessary to include in the url to pass through the proxy, and how ? Excuse my english which is not very pure ! Noël
November 22, 201015 yr This has to do with the settings of your proxy server. You will need to make sure that java clients are allowed to go through the proxy, which is a feature that may be disabled by default.
November 22, 201015 yr Author Hello Smef, Thanks for your answer, but I need some complements - when you say I "need to make sure that java clients are allowed to go through the proxy, which is a feature that may be disabled by default", that supposes, I think, the user enters in the configuration of the proxy ; in my case it's not possible ! - I found on that link what I understood as a possibility to do that from the javascript by including these lines Properties props = System.getProperties(); props.put("http.proxyHost", "proxyhostname"); props.put("http.proxyPort", "proxyhostport"); proxyhostname and proxyhostport could be issued from the Filemaker database, but I dont'hnow how to write this in the scriptmaster I use. After that I have 2 questions : 1. Is that idea right ? 2. Would you accept to have a look on that database and its script ? I'd give a link to download it. Noël
November 22, 201015 yr there's more helpful stuff here... http://www.rgagnon.com/javadetails/java-0085.html
November 23, 201015 yr Author Indeed a very complete link, but I have a lot of time to spend and understand the various posibilities... I'll certainly come back and ask for help ! Thanks Noël
Create an account or sign in to comment