Sorry,
the mapping is as below:
<class
name="com.xxx.security.saml.AuthzDecisionQuery">
<description>Mapping for class com.xxx.security.saml.AuthzDecisionQuery</description>
<map-to xml="samlp:AuthzDecisionQuery"/>
<description>Mapping for class com.xxx.security.saml.AuthzDecisionQuery</description>
<map-to xml="samlp:AuthzDecisionQuery"/>
<field name="id" get-method="getId"
set-method="setId" type="java.lang.String">
<bind-xml name="saml:ID" node="attribute"/>
</field>
<field name="sessionIndex" get-method="getSessionIndex" set-method="setSessionIndex" type="java.lang.String">
<bind-xml name="saml:SessionIndex" node="attribute" location="Subject"/>
</field>
<field name="subjectNameId" get-method="getSubjectNameId" set-method="setSubjectNameId" type="java.lang.String">
<bind-xml name="saml:Subject" node="element"/>
</field>
</class>
<bind-xml name="saml:ID" node="attribute"/>
</field>
<field name="sessionIndex" get-method="getSessionIndex" set-method="setSessionIndex" type="java.lang.String">
<bind-xml name="saml:SessionIndex" node="attribute" location="Subject"/>
</field>
<field name="subjectNameId" get-method="getSubjectNameId" set-method="setSubjectNameId" type="java.lang.String">
<bind-xml name="saml:Subject" node="element"/>
</field>
</class>
Removed location attribute from subjectNameId mapping.
But the problem remains.
-----Original Message-----
From: Gawde, Kiran
Sent: Tuesday, June 08, 2004 11:03 AM
To: [EMAIL PROTECTED]
Subject: [castor-user] Help using locationHi,I am trying to use location as below:<class name="com.xxx.security.saml.AuthzDecisionQuery">
<description>Mapping for class com.xxx.security.saml.AuthzDecisionQuery</description>
<map-to xml="samlp:AuthzDecisionQuery"/><field name="id" get-method="getId" set-method="setId" type="java.lang.String">
<bind-xml name="saml:ID" node="attribute"/>
</field>
<field name="sessionIndex" get-method="getSessionIndex" set-method="setSessionIndex" type="java.lang.String">
<bind-xml name="saml:SessionIndex" node="attribute" location="Subject"/>
</field>
<field name="subjectNameId" get-method="getSubjectNameId" set-method="setSubjectNameId" type="java.lang.String">
<bind-xml name="saml:Subject" node="element" location="Subject"/>
</field>
</class>And I get following xml output:<samlp:AuthzDecisionQuery saml:ID="00001">
<Subject>[EMAIL PROTECTED]</Subject>
<Subject saml:SessionIndex="1234567890"/>
</samlp:AuthzDecisionQuery>But what I expect is:<samlp:AuthzDecisionQuery saml:ID="00001">
<Subject saml:SessionIndex="1234567890">[EMAIL PROTECTED]</Subject>
</samlp:AuthzDecisionQuery>How can I do that? Is it a bug?Thanks,Kiran
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user
