Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
eborisow
Posts: 8
Registered: ‎05-12-2009
My Device: Not Specified

Question about proxy settings

Hi,

 

I saw the page on how to configure the proxy for MDS (here).  That works, but I was wondering if there were any other settings available.

 

If you are using the manual method of specifying the proxy (with host and port), is there a no-proxy setting?  I was looking for something similar to the http.nonProxyHosts in Java.

 

Or, if I use proxyAutoConfigURL, is there a way to specify the user name and password?

 

My problem is, if I use the manual proxy settings, there is a server that I don't want to access through the proxy.  But, I am able to access the Internet fine without a prompt because you can specify the user name and password.

 

If I use the automatic config URL, then my call the server without the proxy works fine, but then I am getting prompted for a user name and password.

 

Here are my manual config settings:

application.handler.http.proxyEnabled=true
application.handler.http.proxyHost=myproxy
application.handler.http.proxyPort=80
application.handler.http.proxyUser=username
application.handler.http.proxyPass=password

 

Or, I use the automatic config URL:

application.handler.http.proxyEnabled=true
application.handler.http.proxyAutoConfig=true
application.handler.http.proxyAutoConfigURL=http://myproxy/array.dll?Get.Routing.Script
application.handler.http.proxyAutoConfig.ScriptCacheTime=10

 

I tried just adding the proxyUser and proxyPass to the automatic config, but that doesn't work.

 

Thanks,

Eric

 

Please use plain text.