Previous Topic: PROXYORIGIN Statement—Specify an Origin Host Name for Proxy AuthenticationNext Topic: PROXYUSER Statement—Specify a User for Proxy Authentication


PROXYPORT Statement—Specify a Proxy Port

The PROXYPORT statement specifies the proxy port to use for the request in an HTTP job.

Supported Job Type

This statement is optional for the HTTP job type.

Syntax

This statement has the following format:

PROXYPORT proxy_port
proxy_port

Specifies the proxy port to use for the request.

Default: 80 (Web Service RPC/Encoded) and http.proxyPort agent parameter, if specified (Web Service Document/Literal)

Limits: 0-65535

Notes:

Example: Override Global Proxy Defaults in Agent Parameter File

This example performs an HTTP query using the HTTP GET method. The output of the invocation is returned in the job's spool file. In this example, the job specifies the connection domain and origin for NTLM authentication, overrides the global proxy defaults specified in the agentparm.txt file, and specifies the user and BASIC, DIGEST, and NTLM protocols for web server authentication.

AGENT APPAGENT
INVOCATIONTYPE GET
SERVLET_URL http://host.example.com/protected IGNORE
CONNECTIONORIGIN host.example.com    
CONNECTIONDOMAIN windows_domain  
AUTHORDER (BASIC, DIGEST, NTLM)
CONNECTIONUSER user1
PROXYDOMAIN http://host.domain.proxy   
PROXYHOST proxy.example.com 
PROXYORIGIN http://host.origin.proxy
PROXYPORT 90
PROXYUSER user01 domain(mydomain)