Hello Masi,
Thank you for the pointer. As the setText() method is encoding the "<" and
">" chars in the SOAP header, I have used the following code to get it
working. Also, as my SAML assertion is being passed as a String, I have to
use the org.apache.axiom.om.impl.llom.util.AXIOMUtil.stringToOM()
Seshi,
I think you don't have to use the setText.
I was using something like:
/**
* Create a new fresh security header with WSSE 1.1 and Security
as localName
* @param securityAssertion
* @return
* @throws Exception
*/
private Element createSecurityHeader( El
All,
For those who are interested, I have found a way to include the "obtained"
SAML token in the created Security header () of the SOAP
message.
Used Axis2 AXIOM API methods to insert the Security header with the correct
namespace. Upon creating the security header , we just need to add the
obta
Hello all,
As per the thread seen on markmail.org (
http://markmail.org/thread/iq4j6x7g247wi75x), there was an update from
Ruchith Fernando dated Nov 4, 2007 about the ways to include the obtained
SAML token in the Security header.
First option was given as:
" By creating a wsse:Securityheader e