Http Control

image

Note: The Http control is available in WebLogic Workshop only for licensed users of WebLogic Integration.

Hyper-Text Transfer Protocol (HTTP) is the globally-accepted method of communicating web pages across the internet. It is a stateless, application-level protocol. The currently defined version of HTTP is 1.1. HTTP protocol is a synchronous protocol, that is, each request message sent from the client to a server is followed by a response message returned from the server to the client.

The Http control's purpose is to provide outgoing HTTP access to WebLogic Workshop clients. The Http control complements the other controls provided in WebLogic Integration and can be used with WebLogic Workshop and business processes to work with HTTP requests and process responses. The Http control is built using the features of the WebLogic Platform control architecture. The Http control source file is a wrapper around the Jakarta Commons HttpClient package. The Http control conforms to HTTP/1.1 specific features.

The Http control supports two types of request methods for data transfer, namely Get and Post. By using the Get mode, you can send your business data along with the URL. By using Post mode, you can send large amount of information like Binary, XML and String documents to the server within the body of the request.

You can specify Http control properties in an annotation, or pass dynamic properties via an XML variable. Inbound HTTP requests can be processed with the HTTP event generator. The HTTP event generator is a servlet which takes an HTTP request, checks for the content type and then publishes the message to the message broker. For more information on the HTTP event generator, see The HTTP Event Generator.

Using the Http control, you can send an HTTP or HTTPS (Secure HTTP) request to a URL and receive specific HTTP response header and body data, as follows:

Topics Included in This Section

Previous Document Next Document