> -----Original Message----- > From: Jim Marino [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 10, 2006 9:26 AM > To: [email protected] > Subject: Re: Can JAXB/XMLBeans work with axis binding now > > Li, I think it would be great if we can get some of the JAXB and > XMLBeans stuff working.
I think I can have a try later. > I have a feeling it may be required for XBeans. Li, do you know > offhand how custom types are loaded in XBeans (and the JAXB RI for > that matter)? I've not yet worked with JAXB/XMLBeans. >From the JAXB tutorial, I saw that to load custom types, looks like JAXB requires the package name of the pre-generated classes: JAXBContext jc = JAXBContext.newInstance( "primer.po" ); Not sure if we need to tell the data binding framework the package name "primer.po". For regular XMLBeans usage, looks like we may directly use the pre-generated classes to do marshalling/unmarshalling: customType.Factory.parse(); // unmarshal customType.newXMLStreamReader() // marshal But when doing unmarshalling, the data binding framework simply use the generic XmlObject.Factory.parse() instead of the pre-generated class, and I don't know how it works? Raymond, would you please clarify? Thanks > > Jim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
