Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] OpenSAML 2.0 custom data type help

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] OpenSAML 2.0 custom data type help


Chronological Thread 
  • From: Brent Putman <>
  • To:
  • Subject: Re: [OpenSAML] OpenSAML 2.0 custom data type help
  • Date: Fri, 06 Feb 2009 16:47:47 -0500



Neill Miller wrote:
> Also, any ideas on what that would look like in code since it seems the
> type is present when building the object:
>
> XSMyType myTypeValue = mtb.buildObject(
> AttributeValue.DEFAULT_ELEMENT_NAME, XSMyType.TYPE_NAME);
>
> Should I be building the object differently without the type parameter?
>
>

Yes, just omit the type QName parameter, i.e. use the single arg QName
form. Or else the 3-arg form that takes the namespace URI, local name
and namespace prefix.




Archive powered by MHonArc 2.6.16.

Top of Page