You can add predefined input ports to the Web Service Consumer transformation.
You can add the following predefined input ports:
Cookie port
You can configure the Web Service Consumer transformation to use cookie authentication. The remote web service server tracks the web service consumer users based on the cookies. You can increase performance when a mapping calls a web service multiple times.
When you project the cookie port to a web service request message, the web service provider returns a cookie value in the response message. You can pass the cookie value to another transformation downstream in the mapping or you can save the cookie value in a file. When you save the cookie value in a file, you can configure the cookie as input to the Web Service Consumer transformation.
You can project the cookie output port to any of the Web Service Consumer transformation output groups.
Endpoint URL port
The Web Service Consumer transformation connects to a web service using an endpoint URL. You can define the endpoint URL in the WSDL file, in a web services connection, or in an endpoint URL input port. When the transformation receives the URL dynamically in a port, the Data Integration Service overrides the URL defined in the WSDL file or in the web services connection.
The Web Service Consumer transformation can have one URL port value for each web service request. Add an Endpoint URL port to the root input group.
WS-Security ports
You enable web service security in a web services connection. When you enable web service security, you must define the user name and password in a web services connection or in WS-Security input ports.
When you add WS-Security ports, you pass the user name and the password through input ports in the transformation. When the transformation receives the user name and password dynamically in ports, the Data Integration Service overrides the values defined in the web services connection.
Note
: A web services connection has one user name and password for HTTP and WS-Security authentication.
To add predefined input ports, click the root input group in the