remove Base64Assertion from SOAP header SAML Assertion

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
My app is a web service client that consume a web service. This service requires SAML token in SOAP header for security validation. I can do http post call successfully but not success for SOAP message. The difference between http post request and soap request
is a extra node <Base64Assertion>, see below.
My question is, how can I do to make the SOAP call success?
Thanks
SOAP request (Failure)
<soap:Header><br/>
<Security xmlns=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd <Base64Assertion><saml:Assertion>
......
</saml:Assertion></Base64Assertion></Security>
Http post: (Success)
<soap:Header><br/>
<Security xmlns=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd <saml:Assertion>
......
</saml:Assertion></Security></soap:header>

View the full article
 
Back
Top