mace-opensaml-users - Re: [OpenSAML] Two SAML objects sharing an element name?
Subject: OpenSAML user discussion
List archive
- From: Chad La Joie <>
- To:
- Subject: Re: [OpenSAML] Two SAML objects sharing an element name?
- Date: Wed, 23 Mar 2011 13:27:50 -0400
Do you have a valid XML schema that describes what you're trying to do?
On Wed, Mar 23, 2011 at 13:23, Jared Camarata
<>
wrote:
> Hi all,
>
> I am new to opensaml but basically I am building and decoding xml documents
> for file requests. I have a samlobject called FileRequest which gets
> marshaled to <FileRequest ID="xx">. There are indeed children elements. I
> now have a need to have a different type of FileRequest that will have
> different child elements. Would I be able to extend the FileRequest
> interface to make QuickFileRequest that inherits the DEFAULT_ELEMENT_NAME
> from FileRequest? The reason being is that it needs to share the element
> name, but QuickFileRequest will have different methods in the impl and
> different children elements.
>
> I have tried this, and I am using XML Tooling to create my QuickFileRequest.
> My line of code is QuickFileRequest qfr =
> QuickFileRequestBuilder.buildObject();... Unfortunately the buildObject is
> returning a FileRequest class object and it wont cast into the
> QuickFileRequest. Is it creating a FileRequest because of the
> default_element_name?
>
> Thank you very much,
> Jared C
>
--
Chad La Joie
www.itumi.biz
trusted identities, delivered
- [OpenSAML] Two SAML objects sharing an element name?, Jared Camarata, 03/23/2011
- Re: [OpenSAML] Two SAML objects sharing an element name?, Chad La Joie, 03/23/2011
- Re: [OpenSAML] Two SAML objects sharing an element name?, jared camarata, 03/23/2011
- Re: [OpenSAML] Two SAML objects sharing an element name?, Chad La Joie, 03/23/2011
- Re: [OpenSAML] Two SAML objects sharing an element name?, jared camarata, 03/23/2011
- Re: [OpenSAML] Two SAML objects sharing an element name?, Chad La Joie, 03/23/2011
- Re: [OpenSAML] Two SAML objects sharing an element name?, jared camarata, 03/23/2011
- Re: [OpenSAML] Two SAML objects sharing an element name?, Cantor, Scott E., 03/23/2011
- Re: [OpenSAML] Two SAML objects sharing an element name?, jared camarata, 03/23/2011
- Re: [OpenSAML] Two SAML objects sharing an element name?, jared camarata, 03/23/2011
- Re: [OpenSAML] Two SAML objects sharing an element name?, Chad La Joie, 03/23/2011
- Re: [OpenSAML] Two SAML objects sharing an element name?, jared camarata, 03/23/2011
- Re: [OpenSAML] Two SAML objects sharing an element name?, Chad La Joie, 03/23/2011
- Re: [OpenSAML] Two SAML objects sharing an element name?, jared camarata, 03/23/2011
- Re: [OpenSAML] Two SAML objects sharing an element name?, Chad La Joie, 03/23/2011
Archive powered by MHonArc 2.6.16.