`

SOAP的简单介绍

阅读更多

简单的介绍一下SOAP的协议xml介绍:

soap 1.0 和soap 1.1的区别
http://schemas.xmlsoap.org/soap/envelope/
http://www.w3c.org/2001/06/soap-evnvelope

http://schemas.xmlsoap.org/soap/encoding
http://www/w3c.org/2001/06/soap-encoding

简单的SOAP 协议文件

 

<SOAP-ENV:Envelope 
        xmls:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/
	xmlns:xsi="http://wwww.w3.org/2001/XMLSchema"
	SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding" />
	<!--SOAP Header elements -->
	<SOAP-ENV:Header>
		<wiley:Transaction
			xmlns:wiley="http://jws.wiley.com/2002/booktx"
				SOAP-ENV:mustUnderstand="1">
				<keyValue>5</keyValue>
		</wiley:Transcation>
	</SOAP-ENV:Header>

	<!--SOAP Body elements-->
	<SOAP-ENV:Body>
		<m:GetBookPrice xmlns:m="http://wwww.wiley.com/jws.book.priceList" />
			<bookname xsi:type="xsd:string" >
				Developing Java Web service
			</bookname>
		</m:GetBookPrice>
	</SOAP-ENV:Body>                                                                                                                                                     
</SOAP-ENV:Envelope>

 

简单的就是这样的 完善即可

 

1
1
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics