Unmarshalling saml metadata extensions
Maduranga Siriwardena
maduranga.siriwardena at gmail.com
Thu May 21 13:24:20 EDT 2015
Yes my namespace is org.wso2 and prefix is wso2 (my be little bit confusing)
I tried to add xsi type like
xsi:type="wso2:RequestedRecipientsType"
What is the namespace of xsi?
On Thu, May 21, 2015 at 10:37 PM, Brent Putman <putmanb at georgetown.edu>
wrote:
>
>
> On 5/21/15 12:56 PM, Maduranga Siriwardena wrote:
>
>
> 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?
>
>
>
> 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.
>
>
>
> /** Default element name */
> public final static QName DEFAULT_ELEMENT_NAME = new
> QName(ExtensionsConstants.EXTENSION_NS, DEFAULT_ELEMENT_LOCAL_NAME,
> ExtensionsConstants.EXTENSION_PREFIX);
>
>
> 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).
>
> 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.
>
> 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.
>
> Turning logging up to DEBUG might also help.
>
>
> --
> To unsubscribe from this list send an email to
> dev-unsubscribe at shibboleth.net
>
--
Maduranga Siriwardena
Undergraduate
Department of Computer Science and Engineering
Faculty of Engineering, University of Moratuwa.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20150521/7a55b0ac/attachment.html>
More information about the dev
mailing list