Hi Damian, Chris, Thanks for your tips. I will try the mediashelf client and then jaxb. I thought it was going to be easy with XMLBeans, but I just couldnt get it to work!
Thanks again, Regards, Nicholas W. 2011/1/29 Damian Kaliszan <[email protected]>: > Hi Chris, > > Sorry, your're right:)) I don't know why I thought FC client was your > solution:) > Anyway, also for Nicholas information, for all the responses which are > not covered by above and based on xml I receive as a response to the REST API > request I create an XSD (I use xmlspy tool for this purpose), then I > use XJC ant task (part of JAXB) to generate beans. And finally > I unmarshall the response to the beans created by XJC. > > I think this solution is quite simple and straightforward;) > > > Best regards, > Damian > > W Twoim liście datowanym 28 stycznia 2011 (20:33:18) można przeczytać: > >> Hi Damian, > >>> I've used JAXB to unmarshall the REST API responses which are not covered by >>> Chris Wilper's FC client and it works fine. > >> Fyi, the fedora-client I think you're referring to: > >> http://mediashelf.github.com/fedora-client/ > >> ..was actually developed by Eddie Shin of MediaShelf. I see that it >> uses JAXB for the other *Response objects, but doesn't (yet?) have a >> FindObjectsResponse. > >> - Chris > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Fedora-commons-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
