You're going to need to Private Edit the invokeAxis2 activity.
Check the java code there ... if there is an HTTP connection object named "client" and that the relevant Java class has a setOptions method. If those two check out ... then your solution would look something like this.
com.pega.apache.axis2.client.Options options = new com.pega.apache.axis2.client.Options(); java.util.List list = new java.util.ArrayList(); com.pega.apache.commons.httpclient.Header header = new com.pega.apache.commons.httpclient.Header(); header.setName("CUSTOM-HEADER-1"); header.setValue("VALUE-1"); list.add(header); options.setProperty(org.apache.axis2.transport.http.HTTPConstants.HTTP_HEADERS, list); client.setOptions(options);
This is not working 6.1 sp2 version , (org.apache.axis2.transport.http.HTTPConstants.HTTP_HEADERS this package is not availale in the 6.1 sp2 version. we have tried the option as soap action header as well.