webservice
文章平均质量分 75
iteye_12007
这个作者很懒,什么都没留下…
展开
-
服务器未能识别 HTTP 头 SOAPAction 的值:
服务器未能识别 HTTP 头 SOAPAction 的值: 原来是call对象没有设置SOAPActoin。所以添加如下代码: call.setUseSOAPAction(true); call.setSOAPActionURI("http://tempuri.org/xxxxxxxxxxxxxx"); 暂时解决了一个问题,唉。。。。...原创 2010-09-18 15:59:45 · 310 阅读 · 0 评论 -
困扰了我很久的QName
API 上就这几句: public class QName extends java.lang.Object implements java.io.Serializable QName class represents the value of a qualified name as specified in XML Schema Part2: Datatypes sp...原创 2010-09-19 09:32:28 · 145 阅读 · 0 评论 -
WSDL详解(转)
WSDL (Web Services Description Language,Web服务描述语言)是一种XML Application,他将Web服务描述定义为一组服务访问点,客户端可以通过这些服务访问点对包含面向文档信息或面向过程调用的服务进行访问(类似远程过程调用)。WSDL首先对访问的操作和访问时使用的请求/响应消息进行抽象描述,然后将其绑定到具体的传输协议和消息格式上以最终定义具体部署的...原创 2010-09-19 14:27:22 · 75 阅读 · 0 评论 -
往Web Service 中传递参数
String endpoint = "http://" + host + "/xxx/xxxxxxxxxx"; //web service的访问路径 Service service = new Service(); Call call = (Call) service.createCall(); call.setTargetEndpointAddress(new java.net.U...原创 2010-09-19 15:43:53 · 256 阅读 · 0 评论 -
主题:AXIS调用.net webservice实例 (转)
/** * 取得webservice操作 * @param message:传值数组 * @param method:webservice 方法名 * @param url:wsdl路径 * @param nameSpace:webservice命名空间 * @param parameter:webservice参数数组 * @return */ public Object get...原创 2010-09-19 16:01:04 · 70 阅读 · 0 评论 -
Webservice调用方式:axis,soap详解
调用webservice,可以首先根据wsdl文件生成客户端,或者直接根据地址调用,下面讨论直接调用地址的两种不同方式:axis和Soap,soap方式主要是用在websphere下 axis方式调用: import java.util.Date; import java.text.DateFormat; import org.apache.axis.client.Call; im...原创 2010-09-19 16:10:57 · 116 阅读 · 0 评论