I have an old axis2 client with generated stubs that is now required to pass some additional information in the HTTP Header. I attempted to modify the generated stub by adding the following logic to one of the methods:
Hashtable headerTbl = (Hashtable) _messageContext.getProperty(HTTPConstants.HEADER_SOAP_ACTION); if (headerTbl == null) { headerTbl = new Hashtable(); _messageContext.setProperty(HTTPConstants.REQUEST_HEADERS, headerTbl); } headerTbl.put("TEST_NAME", "TEST_VALUE"); This did not work. Could someone please outline (with an example if possible) how to add data to the header. Thanks, Mieke -- View this message in context: http://www.nabble.com/HTTP-Header-issue-tp24169983p24169983.html Sent from the Axis - User mailing list archive at Nabble.com.