webservice学习wsdl解读(2)
wsdl文件解读
<?xml version="1.0" encoding="UTF-8"?><definitions
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-wssecurity-utility-1.0.xsd"xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy"xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"xmlns:tns="http://thunisoft.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://thunisoft.com/"name="sayHellpImpleService"><types><xsd:schema><xsd:import namespace="http://thunisoft.com/"schemaLocation="http://192.168.1.1:8080/ws?xsd=1"></xsd:import></xsd:schema></types>/**message定义消息结构
通过part element引用 types消息片段
*/<message name="sayHello"><part name="parameters" element="tns:sayHello"></part></message><message name="sayHelloResponse"><part name="parameters" element="tns:sayHelloResponse"></part></message>/***定义服务器端的SEI(接口)*operation 指定SEI处理请求的方法* input: 请求传过来的数据 message引用的是上面的message标签* output: 服务器发送给客户端的数据*/<portType name="sayHellpImple"><operation name="sayHello"><input wsam:Action="http://thunisoft.com/sayHellpImple/sayHelloRequest"message="tns:sayHello"></input><output wsam:Action="http://thunisoft.com/sayHellpImple/sayHelloResponse"message="tns:sayHelloResponse"></output></operation></portType>/***定义SEI中的实现类*type引用上面的<portType>*/<binding name="sayHellpImplePortBinding" type="tns:sayHellpImple"><soap:binding transport="http://schemas.xmlsoap.org/soap/http"style="document"></soap:binding><operation name="sayHello"><soap:operation soapAction=""></soap:operation><input><soap:body use="literal"></soap:body></input><output><soap:body use="literal"></soap:body></output></operation></binding>/***定义了一个容器类*/<service name="sayHellpImpleService"><port name="sayHellpImplePort" binding="tns:sayHellpImplePortBinding"><soap:address location="http://192.168.0.101:8080/ws"></soap:address></port></service>
</definitions>-----------------------------------------------------------------------------------------------<definitions><types><message><portType><binding><service></definitions>
webservice学习wsdl解读(2)相关推荐
- webservice学习01:wsdl文档结构
webservice学习01:wsdl文档结构 wsdl文档结构 WSDL文档示例 <wsdl:definitions xmlns:xsd="http://www.w3.org/200 ...
- WebService学习:SOPA与WSDL基本语法 .
在WebService学习中,发现SOPA和WSDL的语法比较繁琐,故将以下几点记下,以备查看. SOPA基本语法: SOAP消息基于XML文档构建,一条SOAP消息就是一份特定的XML文档,SOAP ...
- WebService学习:SOPA与WSDL基本语法
转载自:http://blog.csdn.net/lissdy/article/details/8219659 在WebService学习中,发现SOPA和WSDL的语法比较繁琐,故将以下几点记下,以 ...
- WebService 学习之路(一):了解并使用webService
转自:http://www.cnblogs.com/xiaochangwei/p/4969448.html webService主要用于向其他系统提供接口以便调用,系统间可能开发语言等完全不同,根据约 ...
- WebService学习总结(三)——使用JDK开发WebService
一.WebService的开发手段 使用Java开发WebService时可以使用以下两种开发手段 1. 使用JDK开发(1.6及以上版本) 2.使用CXF框架开发(工作中) 二.使用JDK开发Web ...
- WebService学习总结
本文出自 http://www.cnblogs.com/ 的 孤傲苍狼 原文网址: http://www.cnblogs.com/xdp-gacl/category/629559.html http: ...
- WebService学习心得
WebService学习心得01--webservice服务端及客户端开发 1.定义 Web Service技术, 能使得运行在不同机器上的不同应用无须借助附加的.专门的第三方软件或硬件, 就可相互交 ...
- [WebService] xml WebService学习1
[WebService] xml WebService学习1 管理工具->性能 SQL 事件探查器可以使您轻松地捕获在正常负载下服务器上发生的所有事件,并提供有关这些事件的信息.将 SQL 事件 ...
- [置顶]WebService学习总结(4)——第三方webService服务调用
互联网上面有很多的免费webService服务,我们可以调用这些免费的WebService服务,将一些其他网站的内容信息集成到我们的Web应用中显示,下面就以获取天气预报数据和查询国内手机号码归属地为 ...
- 浅淡Webservice、WSDL三种服务访问的方式(附案例)
Webservice Webservice是使应用程序以与平台和编程语言无关的方式进行相互通信技术. eg:站点提供访问的数据接口:新浪微博.淘宝. 官方解释:它是一种构建应用程序的普遍模型,可以在任 ...
最新文章
- 学会这几招,你也可以用 Redis 做实时订阅推送!
- C/C++调用Fortran的使用说明
- 替换 centOS6.5 默认安装的旧版 firefox ,安装最新版 firefox 全过程
- 【BZOJ4602】齿轮,带权并查集
- BZOJ_1629_[Usaco2007_Demo]_Cow_Acrobats_(贪心)
- [Ubuntu16.04]Anaconda下运行jupyter notebook出现Running as root is not recommended.
- 跨平台APP----对Cordova,APPCan,DCloud,APICloud四大平台的分析
- mybatis foreach标签的使用
- 计算机科学导论课后感,关于《计算机科学导论》课程教学的思考
- Scratch3.0安装教程
- 计算机 运行新ie 命令,怎样修复ie浏览器-运行什么命令可以修复IE浏览器,请说的详细 – 手机爱问...
- 锁卡,每插入一张新卡都需要进行解锁
- elasticsearch7.5.0 集群搭建
- java如何连接与断开SQL server2008数据库
- VSCode-工控机远程开发 之(一) VSCode无法连接扩展商店
- 网易云项目(Vue)
- 围棋初学者入门知识——必需掌握的29个围棋术语
- 【JS】1410- 一行 Object.keys() 引发的思考
- 重量(计量单位)英文缩写和转换表
- 感觉黑客帝国的时代不远了