Hi,
I have written a code to upload image to picasa from desktop client.
it worked fine.
The same code i tried hitting through web servlet.
am getting the following error.
Any help on this??
javax.activation.UnsupportedDataTypeException: no object DCH for MIME
type application/atom+xml
at javax.activation.ObjectDataContentHandler.writeTo
(DataHandler.java:841)
at javax.activation.DataHandler.writeTo(DataHandler.java:295)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:
1206)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:
707)
at javax.mail.internet.MimeMultipart.writeTo
(MimeMultipart.java:256)
at
com.google.gdata.wireformats.output.media.MediaMultipartGenerator.generate
(MediaMultipartGenerator.java:54)
at
com.google.gdata.wireformats.output.media.MediaMultipartGenerator.generate
(MediaMultipartGenerator.java:36)
at com.google.gdata.client.Service.writeRequestData
(Service.java:1718)
at com.google.gdata.client.media.MediaService.insert
(MediaService.java:389)
at com.infy.wapps.InfyWebServer.WebServlet.doPost
(WebServlet.java:127)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
856)
at weblogic.servlet.internal.StubSecurityHelper
$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet
(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute
(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute
(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext
$ServletInvocationAction.run(WebAppServletContext.java:3231)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs
(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs
(SecurityManager.java:121)
at
weblogic.servlet.internal.WebAppServletContext.securedExecute
(WebAppServletContext.java:2002)
at weblogic.servlet.internal.WebAppServletContext.execute
(WebAppServletContext.java:1908)
at weblogic.servlet.internal.ServletRequestImpl.run
(ServletRequestImpl.java:1362)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---