axis2客户端调用axis1服务接口
axis2客户端调用axis1服务接口调用方式使用RPC方式调用WebService,为了防止冲突可以增加//与weblogic的lib冲突配置System.setProperty("javax.xml.stream.XMLInputFactory","com.ctc.wstx.stax.WstxInputFactory");System.setProperty("javax.xml.stream.XMLOutputFactory","com.ctc.wstx.stax.WstxOutputFactory");System.
下载地址
用户评论
没有解决问题
很好,稍微修改一下就可以了
坑,就这么几行代码也好意思收积分,服了! 代码如下: // 使用RPC方式调用WebService RPCServiceClient client = new RPCServiceClient(); Options options = client.getOptions(); EndpointReference targetEPR = new EndpointReference(wsdlUrl); options.setTo(targetEPR); // 指定要调用的getGreeting 方法及WSDL 文件的命名空间 QName qname = new QName(nameSpaceUri
测试中,不过貌似有点困难
东西很不错。对我很有帮助