<div dir="ltr">Yes my namespace is org.wso2 and prefix is wso2 (my be little bit confusing)<div><br></div><div>I tried to add xsi type like </div><div><span style="font-family:'DejaVu Sans Mono';font-size:9pt;color:rgb(0,0,255);font-weight:bold;background-color:rgb(239,239,239)">xsi:type=</span><span style="font-family:'DejaVu Sans Mono';font-size:9pt;color:rgb(0,128,0);font-weight:bold;background-color:rgb(239,239,239)">"wso2:RequestedRecipientsType"</span><br></div><div><br></div><div>What is the namespace of xsi?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 21, 2015 at 10:37 PM, Brent Putman <span dir="ltr"><<a href="mailto:putmanb@georgetown.edu" target="_blank">putmanb@georgetown.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span class="">
<br>
<br>
<div>On 5/21/15 12:56 PM, Maduranga
Siriwardena wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><br>
<div>As you have mentioned I registered with the element name
and type name. But still the result is same. Any suggestion
where should I look for the problem?</div>
<br>
</div>
<br>
</blockquote>
<br></span>
Well, my first guess would be that you still don't have the QName
right. Note you have to do that for *all* your extension elements.<span class=""><br>
<br>
<br>
<br>
<blockquote type="cite">
<div>/** Default element name */</div>
<div>public final static QName DEFAULT_ELEMENT_NAME = new
QName(ExtensionsConstants.EXTENSION_NS,
DEFAULT_ELEMENT_LOCAL_NAME,
ExtensionsConstants.EXTENSION_PREFIX);</div>
</blockquote>
<br></span>
I can't see what ExtensionsConstants.EXTENSION_NS is, but based on
the XML you sent it ought to be: org.wso2. If it's not, that's the
problem. (And don't forget the prefix also). <br>
<br>
If it is that namespace URI, then I don't know. You've still got
something not registered with the correct name, or else you not
effecting the changes properly.<br>
<br>
If you still can't get it working, I'd suggest starting with just a
simple unit test to get one of your single custom elements working,
and eliminate the complexity of everything else in the way. <br>
<br>
Turning logging up to DEBUG might also help.<br>
<br>
</div>
<br>--<br>
To unsubscribe from this list send an email to <a href="mailto:dev-unsubscribe@shibboleth.net">dev-unsubscribe@shibboleth.net</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Maduranga Siriwardena</div><div dir="ltr">Undergraduate</div><div dir="ltr">Department of Computer Science and Engineering</div><div dir="ltr">Faculty of Engineering, University of Moratuwa.</div></div></div></div></div>
</div>