Question

1
Replies
84
Views
Padmaja Madda (padmajam)
HSBC
Seniour Consultant
HSBC
IN
padmajam Member since 2009 7 posts
HSBC
Posted: May 24, 2018
Last activity: May 25, 2018
Posted: 24 May 2018 7:04 EDT
Last activity: 25 May 2018 17:12 EDT
Closed

To add the http request in connect soap

We have to add the multiple vaues in the http header we have done the below changes in invokeaxis2 activity

java.util.List list = new java.util.ArrayList();
com.pega.apache.commons.httpclient.Header header = new com.pega.apache.commons.httpclient.Header();
header.setName("x-hsbc-client-id");
header.setValue("427cd12b0cc340f78acff7295ddeb043");
list.add(header);
options.setProperty(com.pega.apache.axis2.transport.http.HTTPConstants.HTTP_HEADERS, list);
client.setOptions(options);

But its displaying only the latest value we have to add the multiple values in header

Can any one please help me on this.

***Moderator Edit: Vidyaranjan | Updated Categories***

Data Integration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.