Set request header information when calling service in portal

Hi All,

In my portlet, I have to call a webservice for which access token has to be passed in the service request header, so that the web service authenticates the user based on the token and gives response.

Created web service connector for the service but couldn’t find the placeholder where I can set header information for the request.

Do you have any idea how to pass information in request header when calling a web service using webservice connector in portal?

Kind regards,
Raja sekhar Kintali

Hi,

Could anybody please tell me how to pass authentication token in request header when calling a webservice (webservice connector created using standard wizard).

Kind regards,
Raja sekhar Kintali

I am not sure what you are meaning by token based authentication. In general, the wsclients.xml file contains the authentication method to be used along with the credentials configured on the web service level.

Is it what you are trying to send is a custom header info in request ?.

Regards,
Siva

Hi Siva,

yes, trying to send custom header info in request. Could you please tell me how to pass this info in header?

Kind regards,
Raj