Hi,
It's not really an easy task to get back the XML out of the Java
client library. You don't want the XmlBlob() method though, that's for
markup that wasn't parsed by the class model. I believe the
ExtensionProfile is declared through some crazy reflection stuff. It
would probably be better if you just serialized the objects and stored
those to disk rather than trying to manually convert to/from XML.
Cheers,
-Jeff
On Sep 24, 6:02 am, Bosko <[EMAIL PROTECTED]> wrote:
> Ok, similar question... I still have this piece of code:
>
> PicasawebService pService = new PicasawebService("Picasa
> servicetest");
> GphotoFeed gPhotoFeed = pService.getFeed(feedUrl, GphotoFeed.class);
> List<PhotoEntry> returnList = gPhotoFeed.getEntries(PhotoEntry.class);
>
> and I'd like to save gPhotoFeed xml response (xml file) to the disk. I
> noticed following methods:
> - gPhotoFeed.generate(XmlWriter, ExtensionProfile)
> - gPhotoFeed.generateAtom(XmlWriter, ExtensionProfile)
> - gPhotoFeed.getXmlBlob()
>
> but I'm having difficulties declaring some XmlWriter and
> ExtensionProfile
>
> Thanks in advance...
>
> Bosko
>
> On Sep 23, 6:34 pm, "B Fore" <[EMAIL PROTECTED]> wrote:
>
> > Please, ignore this question, but expect another one in the near future :)
>
> > Bosko
>
> > On Tue, Sep 23, 2008 at 1:38 PM, Bosko <[EMAIL PROTECTED]> wrote:
> > > Hi!
>
> > > I have this piece of code in my program:
>
> > > PicasawebService pService = new PicasawebService("Picasa service
> > > test");
> > > GphotoFeed gPhotoFeed = pService.getFeed(feedUrl, GphotoFeed.class);
> > > List<PhotoEntry> returnList = gPhotoFeed.getEntries(PhotoEntry.class);
>
> > > I'd like to know how to get HTML request and/or HTML response from
> > > the feed?
>
> > > Tnx in advance,
>
> > > Cheers, Bosko
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Picasa Web Albums API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Picasa-Data-API?hl=en
-~----------~----~----~----~------~----~------~--~---