google的webservice还能用吗?
据我所知,已经down掉一段时间了!

解决方案 »

  1.   

    tomcat连接池配置
    Tomcat文档说明 http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.htmlTomcat4的数据库连接池配置 http://www.7880.com/Info/Article-37ebcbc0-2.html
    tomcat连接池的配置与使用(原创)数据库mysql  http://www.7880.com/Info/Article-37f05fa0.html
      

  2.   

    哪里能看出哪个是google的webservice?请指教
      

  3.   

    不好意思,2005-01-17 22:25:00 的回复写错了。
    正常啊。如果IE不能直接访问,设置代理就可以了。try {
    String key = "";//偶的Key不能公开
    String searchQuery = "portlet";
    String startResult = "10";
    GoogleSearchResult result = null;
    GoogleSearchResultElement elements[] = null;
    GoogleSearch googleSearch = new GoogleSearch();
    googleSearch.setKey(key);
    //如果IE不能直接访问,设置代理
    googleSearch.setProxyHost("217.17.233.183");
    googleSearch.setProxyPort(80);
    googleSearch.setQueryString(searchQuery);
    if (null != startResult) {
    int start = Integer.parseInt(startResult);
    googleSearch.setStartResult(start);
    }
    result = googleSearch.doSearch();
    elements = result.getResultElements();
    for (int i = 0; i < elements.length; i++) {
    GoogleSearchResultElement element = elements[i];
    System.out.println(element.getURL() + " " + element.getTitle() + "  " + element.getSummary());
    }
    }
    catch (Exception e) {
    e.printStackTrace();
    }
      

  4.   

    运行结果:http://www.developer.com/java/web/article.php/3366111 Understanding the Java <b>Portlet</b> Specification  http://www.developer.com/java/web/article.php/3372881 Developing to the Java <b>Portlet</b> Specification  http://sourceforge.net/projects/portlet-opensrc/ SourceForge.net: Project Info - <b>Portlet</b> Open Source Trading site <b>...</b>  http://blogs.ittoolbox.com/km/portals/ A Day in the Life of a Software Developer: <b>Portlet</b> Development &amp; <b>...</b>  http://portals.apache.org/pluto/ The Portals Pluto Site - Pluto Project  http://portals.apache.org/jetspeed-1/catalog.html Jetspeed - Jetspeed <b>Portlet</b> Catalog  http://www.alphaworks.ibm.com/tech/transportlet alphaWorks : Transcription <b>Portlet</b>  http://catalog.lotus.com/portalworkplace WebSphere Portal and Lotus Workplace Catalog  http://www.bowstreet.com/products/portletfactory/ Bowstreet - Bowstreet <b>Portlet</b> Factory  http://dev2dev.bea.com/products/wlportal81/articles/portlet_preferences.jsp WebLogic Portal 8.1  
      

  5.   

    设置代理之后,还是有错误啊!!
    com.google.soap.search.GoogleSearchFault: [SOAPException: faultCode=SOAP-ENV:Client; msg=Connection reset; targetException=java.net.SocketException: Connection reset]
    at com.google.soap.search.GoogleSearch.doSearch(GoogleSearch.java:197)
    at google.main(google.java:31)
    ????????????
      

  6.   

    没有啊!代码上午运行正常。
    是不是你的key不起作用了,试一下这个:Qix5pYtQFHLaptjRHeQ17o65EBQE2sNt
    如果还不行,把你的代码贴出来或者email给我:[email protected]
      

  7.   

    我根据上面的帖子整理了一个程序 用的是这个key:Qix5pYtQFHLaptjRHeQ17o65EBQE2sNt 也设置了代理:217.17.233.183但是也报错:
    com.google.soap.search.GoogleSearchFault: [SOAPException: faultCode=SOAP-ENV:Client; msg=Unable to resolve namespace URI for 'ns1'.; targetException=java.lang.IllegalArgumentException: Unable to resolve namespace URI for 'ns1'.]
      

  8.   

    路过
    高手帮我看看呀
    http://community.csdn.net/Expert/topic/4067/4067464.xml?temp=.6516687
      

  9.   

    已经搞定了  把Xerces-J-bin.1.4.4.zip放在路径的前面就可以了