Web Service学习总结
这边文章不算正式完成。最近状态很乱,身体也出了点小的状况,也不算是病了,就是不想动,四肢都开始变得僵硬。不知道是不是因为经常熬夜的缘故。 博客也十分没有水平和深度
我将如下文章的一些内容 用pencil制作成了一张png图片。前人都有大智慧,我们望尘莫及,只能堪堪总结下知识,以让自己加深理解。有的地方理解不一定正确。。。如有。。指正
WebService学习总结(一)——WebService的相关概念: https://www.cnblogs.com/xdp-gacl/p/4048937.html
动手建立一个webservice程序,里面可能还会有一些发布过程中的异常处理 >https://www.cnblogs.com/jiyiblog/p/6597760.html >https://www.cnblogs.com/Brambling/p/6815565.html >有关webservice的相关概念,比如wsdl,soap ,我们可以去w3c官网查看。 >wsdl: https://www.w3schools.com/xml/xml_wsdl.asp >soap: https://www.w3schools.com/xml/xml_soap.asp >下面是摘录的一些基础的信息 ,加以记录,加深印象理解。
wsdl文档 如下是主要元素,可以创建一个webservices程序,查看相应的wsdl文档。
Element | Description |
---|---|
types | Defines the (XML Schema) data types used by the web service 定义web服务使用的(XML模式)数据类型 |
message | Defines the data elements for each operation 定义每个操作的数据元素 |
portType | Describes the operations that can be performed and the messages involved. 描述可以执行的操作和涉及的消息 |
binding | Defines the protocol and data format for each port type 定义每个端口类型的协议和数据格式 |
<definitions>
<types>
data type definitions........
</types>
<message>
definition of the data being communicated....
</message>
<portType>
set of operations......
</portType>
<binding>
protocol and data format specification....
协议和数据格式规范....
</binding>
</definitions>
xml转移字符
字符 | 转义字符 |
---|---|
< | < ; |
> | > ; |
" | " ; |
’ | &apos ; |
& | & ; |