P. 1
Informatica PowerCenter 9.0 Transformation Guide

Informatica PowerCenter 9.0 Transformation Guide

|Views: 11,812|Likes:
Published by Dipankar

More info:

Published by: Dipankar on Sep 24, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/03/2014

pdf

text

original

After you select a method and configure input and output ports, you must configure a URL. Enter a base URL, and
the Designer constructs the final URL. If you select the GET method, the final URL contains the base URL and
parameters based on the port names in the input group. If you select the POST or SIMPLE POST methods, the
final URL is the same as the base URL.

166 Chapter 10: HTTP Transformation

You can use a mapping parameter or variable to configure the base URL. For example, declare the mapping
parameter $$ParamBaseURL, enter the mapping parameter $$ParamBaseURL in the base URL field, and then
define $$ParamBaseURL in the parameter file.

You can also specify a URL when you configure an HTTP application connection. The base URL specified in the
HTTP application connection overrides the base URL specified in the HTTP transformation.

Note: An HTTP server can redirect an HTTP request to another HTTP server. When this occurs, the HTTP server
sends a URL back to the Integration Service, which then establishes a connection to the other HTTP server. The
Integration Service can establish a maximum of five additional connections.

Final URL Construction for GET Method

The Designer constructs the final URL for the GET method based on the base URL and port names in the input
group. It appends HTTP arguments to the base URL to construct the final URL in the form of an HTTP query
string. A query string consists of a question mark (?), followed by name/value pairs. The Designer appends the
question mark and the name/value pairs that correspond to the names and values of the input ports you add to the
input group.

When you select the GET method and add input ports to the input group, the Designer appends the following
group and port information to the base URL to construct the final URL:

? = $

For each input port following the first input group input port, the Designer appends the following group and port
information:

& n name> = $n value>

where n represents the input port.

For example, if you enter www.company.com for the base URL and add the input ports ID, EmpName, and
Department to the input group, the Designer constructs the following final URL:

www.company.com?ID=$ID&EmpName=$EmpName&Department=$Department

You can edit the final URL to modify or add operators, variables, or other arguments. For more information about
HTTP requests and query string, see http://www.w3c.org.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->