I am trying to get the list of google spreadsheets using a jsp file. Then I 
am getting an error as mentioned below. I am using eclipse IDE and Tomcat 
Server.
 

*Error:*

*javax.servlet.ServletException: 
com.google.gdata.util.AuthenticationException: Error connecting with login 
URI*

** 

*java.net.SocketException: java.lang.ClassNotFoundException: Cannot find 
the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory*

** 

*I tried to fix this is issue as per the note on this below link: But that 
fix is not working for me.*
*
http://publib.boulder.ibm.com/infocenter/radhelp/v7r5/index.jsp?topic=%2Fcom.ibm.ws.ast.st.v6.ui.doc%2Ftopics%2Frssl_isUseIBMSSLSocketFactory.html
*<http://publib.boulder.ibm.com/infocenter/radhelp/v7r5/index.jsp?topic=%2Fcom.ibm.ws.ast.st.v6.ui.doc%2Ftopics%2Frssl_isUseIBMSSLSocketFactory.html>
 
*Code:*
 
    SpreadsheetService service =

        *new* SpreadsheetService("MySpreadsheetIntegration-v1");

    service.setUserCredentials(USERNAME, PASSWORD);

 

    // TODO: See other portions of this guide for code to put here...

    

    URL SPREADSHEET_FEED_URL = *new* URL(

        "https://spreadsheets.google.com/feeds/spreadsheets/private/full";);

    

    SpreadsheetFeed feed = service.getFeed(SPREADSHEET_FEED_URL, 
 SpreadsheetFeed.*class*);

    List<SpreadsheetEntry> spreadsheets = feed.getEntries();

    

    // Iterate through all of the spreadsheets returned

    *for* (SpreadsheetEntry spreadsheet : spreadsheets) {

      // Print the title of this spreadsheet to the screen

      System.out.println(spreadsheet.getTitle().getPlainText());

      %>

      File found

      <%

    }
 
*Could you please help to fix this issue.*
 
*Thanks,*
*Anoop*

Reply via email to