Thread View: adobe.scripting.indesign
5 messages
5 total messages
Started by Eliot_Kimber
Thu, 18 Dec 2008 16:04
[CS3 InDesign InCopy] Any Way to Use Proxies Via WebAccessLib?
Author: Eliot_Kimber
Date: Thu, 18 Dec 2008 16:04
Date: Thu, 18 Dec 2008 16:04
15 lines
1309 bytes
1309 bytes
We are using the webaccesslib DLL from InDesign and InCopy to integrate with a Web-based CMS. However, we have discovered that it appears it cannot use proxy-based access, even with the Windows system proxy settings set up. For example, from Windows, I can ping my target system from a command line (where I am behind a proxy and the target server is outside the proxy) but InCopy is not resolving the same address. Online research did not reveal any obvious solution. I did try using Bridge CS3 to configure proxy access per the Bridge online help, but I do not see the proxy settings option mentioned in the online help. Anything I can do for this? Thanks, Eliot
Re: [CS3 InDesign InCopy] Any Way to Use Proxies Via WebAccessLib?
Author: Bob Stucky
Date: Thu, 18 Dec 2008 16:34
Date: Thu, 18 Dec 2008 16:34
7 lines
1429 bytes
1429 bytes
Eliot, webaccesslib is not a sophisticated implementation. My guess is that it doesn't look at any system configuration settings. As an external library, I am very certain it won't look at application settings. On top of all that, ID CS3 doesn't officially support it (but it can be made to work). You could roll your own using the socket object. There's a couple of ES http implementations out there, you could start with those. The other option would be to look at PatchPanel, which give you access to Flash's http support. Bob
Re: [CS3 InDesign InCopy] Any Way to Use Proxies Via WebAccessLib?
Author: Eliot_Kimber
Date: Thu, 18 Dec 2008 17:43
Date: Thu, 18 Dec 2008 17:43
7 lines
954 bytes
954 bytes
Thanks--I'm starting to understand the limitations of the library. Do we know if CS4 has more sophisticated HTTP support? I know there is more HTTP support in ID/IC in CS4 but I haven't had a chance to explore it yet. Cheers, Eliot
Re: [CS3 InDesign InCopy] Any Way to Use Proxies Via WebAccessLib?
Author: Eliot_Kimber
Date: Fri, 19 Dec 2008 23:25
Date: Fri, 19 Dec 2008 23:25
32 lines
2844 bytes
2844 bytes
We did work out from the bridge scripting guide that you can set a proxy server and port on the connectin object. This worked given an on authentication event handler to get and supply proxy credentials. Cheers, Eliot -----Original Message----- From: Eliot Kimber [mailto:member@adobeforums.com] Sent: Thu 12/18/2008 11:43 AM To: adobe.scripting.indesign@adobeforums.com Subject: Re: [CS3 InDesign InCopy] Any Way to Use Proxies Via WebAccessLib? A new message was posted by Eliot Kimber in InDesign Scripting -- [CS3 InDesign InCopy] Any Way to Use Proxies Via WebAccessLib? Thanks--I'm starting to understand the limitations of the library. Do we know if CS4 has more sophisticated HTTP support? I know there is more HTTP support in ID/IC in CS4 but I haven't had a chance to explore it yet. Cheers, Eliot ________________________________ View/reply at [CS3 InDesign InCopy] Any Way to Use Proxies Via WebAccessLib? <http://www.adobeforums.com/webx?13@@.59b74db5/1> Replies by email are OK. Use the unsubscribe <http://www.adobeforums.com/webx?280@@.59b74db5!folder=.eea52bc> form to cancel your email subscription.
Re: [CS3 InDesign InCopy] Any Way to Use Proxies Via WebAccessLib?
Author: Eliot_Kimber
Date: Wed, 31 Dec 2008 14:13
Date: Wed, 31 Dec 2008 14:13
9 lines
1322 bytes
1322 bytes
Follow up: Using the HttpConnection object from Bridge in InCopy and InDesign have successfully authenicated through a proxy. The key was realizing that you need to put the execute() in a loop that checks the connection status property and re-executes until status is HttpConnection.statusCompleted to handle multiple authentications. It also appears that the HttpConnection object caches the proxy authentication so subsequent connection attempts to do not require re-authentication to the proxy. Have also realized that Version Cue is the more appropriate and reliable way to do what we're trying to do (integrate with a CMS server) but had to make what we have work first.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads