Noél Dubau Posted November 21, 2010 Posted November 21, 2010 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
Smef Posted November 22, 2010 Posted November 22, 2010 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.
Noél Dubau Posted November 22, 2010 Author Posted November 22, 2010 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
john renfrew Posted November 22, 2010 Posted November 22, 2010 there's more helpful stuff here... http://www.rgagnon.com/javadetails/java-0085.html
Noél Dubau Posted November 23, 2010 Author Posted November 23, 2010 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
Recommended Posts
This topic is 5183 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now