Configuring Java CAPS Environment Components for Communications Adapters

HTTP Settings

HTTP Settings includes the configuration parameters listed in the following table.


Caution – Caution –

Calling the clear() method in the Collaboration Editor (Java) clears all properties in this HTTP Settings section. Once the properties have been cleared, you must manually rebuild the header and payload sections of the Request message in the Transformation Designer.


Table 60 Environment Configuration—HTTP Settings

Name 

Description 

Required Value 

URL

Specifies the default URL to be used for establishing an HTTP or HTTPS connection. When a URL is not assigned to the HTTP OTD, the default value is used as the URL for both the GET and POST commands. See GET and POST Methods.

If “https” protocol is specified, SSL must be enabled. See the SSL properties table.

A valid URL. 

You must include the full URL. For example, 

http://www.sun.com

or 

http://google.yahoo.com/bin/query

If using GET functionality, you can provide the properties, using encoded query string notation. For example (all on one line). 

http://www.ee.cornell.edu/cgi-bin/cgiwrap/~wes/ pq?FirstName=John&LastName=Doe


Note –

For international URLs, be sure the targeting URL supports the encoding used in this property. A list of the character encoding supported by the Java 2 platform is at the Sun Web site: http://java.sun.com


Content Type

The default Content type header value to include when sending a request to the server. If no value is specified, a default value of application/x-www-form-urlencoded is supplied by the Adapter.


Note –

A change of the configuration value will only alter the header value, and not the actual Content type. When necessary, you can undertake any conversion or transformation of data manually.


A valid string. 

Encoding

The default encoding used when reading or writing textual data. 

A valid entry. 

The default is ASCII.