Subject: Removing namespace prefix before saml 1 Assertion
Date: 2011-01-31 20:46:16
From: Farzad Fadai
Source: removing-namespace-prefix-saml-1-assertion
----------------------------------------------------------------------

Is there anyway to create an Assertion object that has:
$0$0
$0
$0<Assertion ... tag$0
$0$0
$0
$0instead of $0
$0$0
$0
$0<saml:Assertion... tag$0
$0$0
$0
$0I did$0
$0$0
$0
$0
$0            XmlElement e = assertion.GetXml();$0
$0            e.Prefix = "";$0
$0$0
$0
$0            assertion = new Assertion(e);$0
$0$0
$0
$0            XmlElement e2 = assertion.GetXml();$0
$0
$0$0
$0
$0But when I look at e2 the namespace saml is back again. The service provider tells me that their code can't handle the saml prefix before the Assertion tag and I need to remove it.$0
$0$0
$0
$0Regards,$0
$0$0
$0
$0Farzad$0
$0$0
$0

----------------------------------------------------------------------

Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand
If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor
who sold you the license and ask for your money back.

Back to ComponentPro Q&A Forum Index