Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
axis2-1.7.0-SNAPSHOT
Description
- Go to Axis2_HOME/samples/yahoorestsearch directory and type ant to build and run the the yahoorestsearch sample
- Enter a search text in the "Search for" text box, give html as format and click on the search button.
- It returns error [3]
- Please note that same happens with yahoojsonsearch sample
- Incidentally, noticed that [1] has been shut down. (According to the source found at [2] )
[1] http://search.yahooapis.com/WebSearchService/V1/webSearch
[2] http://developer.yahoo.com/blogs/ydn/posts/2010/08/api_updates_and_changes/
[3] [java] org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found
[java] at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:310)
[java] at org.apache.axis2.transport.http.HTTPSender.sendViaGet(HTTPSender.java:103)
[java] at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:61)
[java] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:404)
[java] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:231)
[java] at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
[java] at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
[java] at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
[java] at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
[java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
[java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
[java] at sample.yahooservices.RESTSearch.RESTSearchModel.searchYahoo(Unknown Source)
[java] at sample.yahooservices.RESTSearch.UserInterface.handleSearch(Unknown Source)
[java] at sample.yahooservices.RESTSearch.UserInterface.access$000(Unknown Source)
[java] at sample.yahooservices.RESTSearch.UserInterface$1.actionPerformed(Unknown Source)
[java] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
[java] at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
[java] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
[java] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
[java] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
[java] at java.awt.Component.processMouseEvent(Component.java:6267)
[java] at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
[java] at java.awt.Component.processEvent(Component.java:6032)
[java] at java.awt.Container.processEvent(Container.java:2041)
[java] at java.awt.Component.dispatchEventImpl(Component.java:4630)
[java] at java.awt.Container.dispatchEventImpl(Container.java:2099)
[java] at java.awt.Component.dispatchEvent(Component.java:4460)
[java] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
[java] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
[java] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
[java] at java.awt.Container.dispatchEventImpl(Container.java:2085)
[java] at java.awt.Window.dispatchEventImpl(Window.java:2478)
[java] at java.awt.Component.dispatchEvent(Component.java:4460)
[java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
[java] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
[java] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
[java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
[java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)