I want use bing web services and I have my Bing appid. I have installed eclipse helios (EE), tomcat6, axis2, maven2, and so on. In my eclipse I go to File->New->Other->Web service client. Then I enter WSDL file path . Verification is ok. Eclipse build some classes in my project but I can't use Bing web services. Bing documentation (.Net) uses LiveSearchService
class but I don't have this class (really it's an interface).
You didn't say explicitly where the problem was...
In general consuming a ws is easy and there are many tutorials on this:
HelloWorldService service = new HelloWorldService();
HelloWorld port = service.{a getter method for port..by convention i believe it isgetHelloWorldPort()};
port.myMethod();
Was this helpful? If not, please be more explicit.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.