Question

1
Replies
65
Views
padmajam Member since 2009 7 posts
HSBC
Posted: 2 years ago
Last activity: 2 years 4 months ago
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
Share this page LinkedIn