axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thil...@apache.org
Subject svn commit: r521077 - /webservices/axis2/trunk/java/modules/samples/yahoojsonsearch/src/sample/yahooservices/JSONSearch/JSONSearchModel.java
Date Thu, 22 Mar 2007 01:40:04 GMT
Author: thilina
Date: Wed Mar 21 18:40:03 2007
New Revision: 521077

URL: http://svn.apache.org/viewvc?view=rev&rev=521077
Log:
removing unwanted sysouts & comments

Modified:
    webservices/axis2/trunk/java/modules/samples/yahoojsonsearch/src/sample/yahooservices/JSONSearch/JSONSearchModel.java

Modified: webservices/axis2/trunk/java/modules/samples/yahoojsonsearch/src/sample/yahooservices/JSONSearch/JSONSearchModel.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/yahoojsonsearch/src/sample/yahooservices/JSONSearch/JSONSearchModel.java?view=diff&rev=521077&r1=521076&r2=521077
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/yahoojsonsearch/src/sample/yahooservices/JSONSearch/JSONSearchModel.java
(original)
+++ webservices/axis2/trunk/java/modules/samples/yahoojsonsearch/src/sample/yahooservices/JSONSearch/JSONSearchModel.java
Wed Mar 21 18:40:03 2007
@@ -50,9 +50,7 @@
     public String searchYahoo(String query, String format) {
         try {
             snippet = beginHTML;
-//            String epr = "http://localhost:8060/WebSearchService/V1/webSearch";
             String epr = "http://api.search.yahoo.com/WebSearchService/V1/webSearch";
-//            File configFile = new File("modules/json/test-resources/axis2.xml");
             File configFile = new File("resources/axis2.xml");
             ConfigurationContext configurationContext = ConfigurationContextFactory
                     .createConfigurationContextFromFileSystem(null, configFile
@@ -65,7 +63,6 @@
             options.setProperty(Constants.Configuration.MESSAGE_TYPE, "text/javascript");
             options.setProperty(Constants.Configuration.HTTP_METHOD, Constants.Configuration.HTTP_METHOD_GET);
             OMElement response = client.sendReceive(getPayloadForYahooSearchCall(query, format));
-            System.out.println(response);
             generateSnippet(response);
             return snippet;
 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message