<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 5/21/15 12:56 PM, Maduranga
      Siriwardena wrote:<br>
    </div>
    <blockquote
cite="mid:CAFxuRFj-bWi4FmrCYdBvWvyKRjRh8zPjC1iBibx8KdZ4Amx=sw@mail.gmail.com"
      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>
    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.<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>
    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>
  </body>
</html>