Discussions
Outbound SSO issue with Axis2
Hi,
We are migrating from Axis1 to Axis2.
In Axis1, We were getting the Authorization header from the Netsuite SSO Verification URL and then setting the same header in the message context and that worked perfectly for use.
However now we are migrating to Axis2, and we don't have access to message Context object in Axis2. setting the http header property in the option object doesn't authenticate the user. Below is the code snippet:
stub._getServiceClient().getOptions().setProperty(HTTPConstants.REQUEST_HEADERS, httpheaders);
httpheaders object is retrived from the Netsuite SSO verification url after successfully establishing the connection.
Even if the authentication header is set properly in the options object, we still get invalidSessionFault exceptoin.