<div dir="ltr">Hi Brent,<div><br></div><div>I got it to work. I have registered the object providers after creating the metadata provider. Registered the object providers before creating the metadata object and now it is working fine.</div><div><br></div><div>Thank you for pointing out the error in the place of my extensions.</div><div><br></div><div>Thank you for your help.</div><div>Regards</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 21, 2015 at 10:54 PM, Maduranga Siriwardena <span dir="ltr"><<a href="mailto:maduranga.siriwardena@gmail.com" target="_blank">maduranga.siriwardena@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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"><div><div class="h5">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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><span>
    <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><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></div></div><span class="">--<br>
To unsubscribe from this list send an email to <a href="mailto:dev-unsubscribe@shibboleth.net" target="_blank">dev-unsubscribe@shibboleth.net</a><br></span></blockquote></div><span class=""><br><br clear="all"><div><br></div>-- <br><div><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>
</span></div>
</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>