net-HttpProxyServer

HttpProxyService is used to support connections to the Internet through a non-transparent proxy.

All services that make use of the bajax.baja.net.HttpConnection class will automatically roll over to using the proxy server once the HttpProxyService has been configured and enabled. The Weather Service is one of the services that is affected by this feature.

To use this component you must:

  • Open the net palette and drag HttpProxyServer to your station’s Services folder.
  • Configure the following properties in the Property Sheet view:
Property Value Description
Status read-only This display-only property displays the status of the Http Proxy Service.
Fault Cause read-only This display-only property provides an error message that indicates the reason for a fault.
Enabled true or false (default) Enables and disabled the server.
Server text This property provides a text field for entering the address of the proxy server you are connecting to.
Port number Specifies the port number for communicating with the proxy server.
Exclusions text This text field allows you to designate addresses that are allowed to be contacted directly, therefore excluding them from having to be contacted through the proxy server. The default addresses in the field are typical addresses followed by a slash(/) and the subnet mask designation.
Authentication Scheme drop-down list This property provides the following two options:
  • None: no authentication is required at the proxy server.
  • Basic: basic authentication is required at the proxy server.
User text This is the login name to be used when authentication is set to Basic.
Password text This is the password text that is to be used when authentication is set to Basic.