Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用必应网络服务并且我有我的必应 appid。我已经安装了eclipse helios (EE)、tomcat6、axis2、maven2等。在我的 Eclipse 中,我转到 File->New->Other->Web 服务客户端。然后我输入WSDL 文件路径。验证没问题。Eclipse 在我的项目中构建了一些类,但我不能使用 Bing Web 服务。Bing 文档(.Net)使用LiveSearchService类,但我没有这个类(实际上它是一个接口)。
LiveSearchService
你没有明确说问题出在哪里......
一般来说,使用 ws 很容易,并且有很多关于此的教程:
HelloWorldService service = new HelloWorldService(); HelloWorld port = service.{a getter method for port..by convention i believe it isgetHelloWorldPort()}; port.myMethod();
这个有帮助吗?如果不是,请更明确。