wsdl的描述文件的网址如下
http://192.168.88.2/pi/services/GetMethod?wsdl
摘录其中片段如下:
- <xs:element name="getMethod">
- <xs:complexType>
- <xs:sequence>
<xs:element name="sj" nillable="true" type="xs:string" />
<xs:element name="bc" nillable="true" type="xs:string" />
<xs:element name="gw" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
其中服务调用的方法名 getMethod
调用方法中的参数有三个如下 sj,bc,gw
如下的调用方法可以测试webservice是否可以获取到数据
http://192.168.88.2/pi/services/GetMethod/getMethod?sj=2008-07-01&bc=01&gw=01
分享到:
相关推荐
webservice axis2的服务搭建以及客户端测试被搭建的服务客户端
Spring+Axis2+Maven搭建WebService服务端demo测试用例
Axis2WebService源码。本地测试通过。
webseservice 客户端调用,java发布的axis2 webservice,通过 js调用调用webservice,普通ajax实现,里面有详细注释,代码简单明了,我自己做过测试。希望对大家有所帮助。
利用空闲时间整理出的使用Axis实现的webservice,该实例为Axis实现的服务端和客户端的完整实例代码(测试已通过),希望能帮助跟我一样初次接触webservice的新手
之前webservice客户端调用,使用RPC客戶端接口调用方法,但发现此种调用方式针对携参方式并不适用。最后经过多种方式测试选择了OMFactory......调用。经测试好用
Axis2调用SAP Webservice源码 使用Axis2 org.apache.axis2.eclipse.codegen.plugin_1.6.2.jar插件生成本地Java Proxy同事生成同步和异步调用测试用例 更重要的是配备详细文档,实乃Java与SAP集成是宝典!
webservice wcf 等接口调试工具。webservice wcf 等接口调试工具。
今天特意将项目中用Axis2集成SSH实现WebService的过程记录下来,一方面做一下笔记,另一方面,方便广大码农朋友,希望能跟大家交流学习。 本文介绍用Axis2集成SSH搭建WebService。会达到的效果: 1.按照传统我们用...
使用axis发布webservice服务,客户端 服务端均有 本地测试通过。
3、测试类或者jsp页面,可以通过2中的客户端类来调用服务 例如: HelloStub helloStub=new HelloStub("http://127.0.0.1:8080/axis2/services/HelloService"); Helloworld helloworld=new Helloworld(); hello...
Java Axis 直接调用webservice 接口工具类, 无需根据wsdl编译客户端,需要axis相关包,测试使用axis 1.4, 附demo引入axis包后直接可以测试;
这是一个简单的使用axis进行webservice调用的代码,项目启动后,可以直接用里面的test.java进行测试,无需在做其他操作; 简单易懂,专供新手学习webservice;
webservice接口axis2方式,demo,仅供参考。。。。。。。。
axis2调用webservice服务,必须引入的jar包,已更新至最新版本
基于Axis2的WebService简单实例,整合到web项目中,包含axis2的所有必需的最小jar包,实际测试通过
3、测试类或者jsp页面,可以通过2中的客户端类来调用服务 例如: HelloStub helloStub=new HelloStub("http://127.0.0.1:8080/axis2/services/HelloService"); Helloworld helloworld=new Helloworld(); hello...
因为经过我测试,Delphi7版本太老了,不兼容JAX-WS和AXIS2 另外我觉得AXIS1.4配置也是最简单的。 本例采用Dynamic Proxy方式,WSDD方式 delphiclient 是用delphi7写的WebService客户端 里面的地址请根据实际情况...
调用webservice,测试axis之前需要引入依赖的jar: 1)axis.jar; 2)jaxrpc.jar; 3)saaj.jar; 4)commons-discovery-0.2.jar; 5)commons-logging-1.0.4.jar; 6)wsdl4j-1.5.1.jar; 7)activation.jar; mail...
axis2测试服务端所需jar包.zip 在jdk 1.7 ,1.8 亲测没问题,项目已上线