【发布时间】:2015-08-03 06:01:25
【问题描述】:
在一个 XPages 项目上工作,我想用 Java 创建一个 Web 服务客户端,它可以访问时事通讯服务 (www.cleverreach.de) 的 API。 我拥有的 WSDL 的 URL。 here。 我该如何去创建这个客户端?策略是什么?
我收到以下错误:“JVM:java.rmi.RemoteException: 未找到服务 {CRS}Interface V5"
的操作说明运行以下代码后:
APIKey ="1a045d62d0dd2246c32dsdf40277b861gfd6d4";
String client ="";
InterfaceV5Locator CRS = new InterfaceV5Locator();
InterfaceV5PortType port= CRS.getInterfaceV5Port()
client = port.clientGetDetails(APIKey).toString();
return client;
【问题讨论】:
标签: java web-services wsdl xpages lotus-notes