Searching a key word with java client programme from wsdl
Posted
by samy
on Stack Overflow
See other posts from Stack Overflow
or by samy
Published on 2010-03-22T22:23:17Z
Indexed on
2010/03/22
22:31 UTC
Read the original article
Hit count: 420
java
|webservice
Heyy I have a problem
I generated a client programme using http://api.search.live.net/search.wsdl this service for searching a key words.. I generated client by help of Eclipse-web project from this service. I have done searched on this service(live.net) but i can't show on the console. How i can do that?
public static void main(String[] args) throws RemoteException {
LiveSearchPortTypeProxy bb=new LiveSearchPortTypeProxy();
SearchRequest request=new SearchRequest();
SearchRequestType1 bbs=new SearchRequestType1();
aas.setParameters(request);
sorgu.setAppId("*****************************************"); //you can take this ID from live service for using this service
sorgu.setSources(new SourceType[]{SourceType.Web});
sorgu.setQuery("keyword");
SearchResponseType0 cevap= bb.search(bbs);
}
© Stack Overflow or respective owner