Looks like it's a Java 1.6 issue:
http://code.google.com/p/gdata-java-client/issues/detail?id=75

On Thu, Feb 19, 2009 at 4:41 AM, nnvnaveen <[email protected]> wrote:

>
> Hi,
> I need sample code to upload images to picasa.
> I am getting
>
> javax.activation.UnsupportedDataTypeException: no object DCH for MIME
> type application/atom+xml
>
> this exception when I tried.
>
> thanks,
> Naveen
>
> On Jan 21, 10:26 pm, "Jordi Pujol" <[email protected]>
> wrote:
> > Hi!
> > Now it works for me.
> > How?
> >
> > Simple, i download the jar again.
> > This are compiled under 1.5 and it works.
> > But if i rebuild myself under 1.5, the buid is succesful buth the
> userCredentials fails.
> > It doesn't happen if i rebuild under 1.6
> >
> > Thanks!
> >
> >   ----- Original Message -----
> >   From: Jeff Fisher
> >   To: [email protected]
> >   Sent: Wednesday, January 21, 2009 5:55 PM
> >   Subject: [PWA API] Re: Uploading photos from servlet
> >
> >   If it can be reliably reproduced, perhaps you should file a bug against
> the client library?
> >
> >  http://code.google.com/p/gdata-java-client/issues/list
> >
> >   -Jeff
> >
> >   On Wed, Jan 21, 2009 at 3:29 AM, Jordi <[email protected]>
> wrote:
> >
> >     Hi!
> >     I found more details about the problem.
> >     I find that the userCredentials doesn't work when i try to run under
> a
> >     1.5 compiled versions of gdata.
> >     But yes if i compiled under 1.6
> >     Any idea?
> >
> >     On Jan 20, 9:34 am, Jordi <[email protected]> wrote:
> >     > Hi!
> >
> >     > I'm trying to uploading several photos to Picasa, using the
> standard
> >     > client login interface:
> >
> >     > service.setUserCredentials(uname, passwd);
> >
> >     > This work fine when i try to run in a standalone application
> (main).
> >
> >     > But now i'm trying to test under a webapp enviroment, and it
> doesn't
> >     > work.
> >
> >     > It's the same code, but the application hangs up when arrives at
> >     > setUserCredentials....
> >     > Also, the code doesn't continue throught the catch section, also i
> >     > can't see any exception on logs....
> >
> >     > Any idea?
> >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to