users@jaxb.java.net

Re: Problems with SAML xsd

From: Heiko Irrgang <hi_at_safri.net>
Date: Mon, 01 Aug 2011 09:53:10 +0200

On 07/31/2011 10:41 AM, Wolfgang Laun wrote:
> The name attributes of the complexType elements in these xsd files end with
> "Type", and that's, by definition of the JAXB 2.0 specification, the name
> for the JAXB generated class.
>
> There is no problem with generating an XML file from an AuthnRequestType
> object wrapped into a JAXBElement<AuthnRequestType>. All required methods
> are in the ObjectFactory. See
> http://jaxb.java.net/tutorial/section_4_1-Building-and-Marshalling-an-XML-Document.html#The%20Object%20Factoryfor
> details.

Thank you very much!

Kind regards
Heiko