Soap Basics
SoapUI Basics
- SoapUI - JDBC Assertion
- SoapUI - JDBC Property
- SoapUI - JDBC Connection
- SoapUI - RESTful Web Services
- SoapUI - Load Testing
- SoapUI - Performance Testing
- SoapUI - Troubleshooting
- SoapUI - Assertions
- SoapUI - Logs Pane
- SoapUI - Property Transfer
- SoapUI - Properties
- SoapUI - Request & Response
- SoapUI - TestStep
- SoapUI - TestCase
- SoapUI - TestSuite
- SoapUI - Project
- SoapUI - WSDL
- SoapUI - Installation & Configuration
- SoapUI - NG Pro
- SoapUI - Capabilities
- SoapUI - Introduction
SoapUI Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
SoapUI - WSDL
WSDL为网络服务说明语言。 这是描述网络服务的标准格式。 WSDL是由微软和IBM联合开发的。 WSDL被宣布为大炮,并列为W-S-D-L。
WSDL ─ A Brief History
WSDL 1.1于2001年3月提交,作为W3C说明,由Ariba、IBM和Microsoft介绍为W3C XML在XML议定书方面的活动提供的服务。
世界网络联合会(W3C)没有认可WSDL 1.1,但刚刚发布了2版草案,作为建议(正式标准),因此得到世界3C的支持。
WSDL ─ Points to Note
WSDL是在分散和分布的环境中进行信息交流的XML议定书。 妇女地位部的其他特点如下:
WSDL 定义描述了如何利用网络服务以及它将开展哪些业务。
这是说明如何与基于XML的服务接口的一种语言。
它是世界通用说明、发现和融合(UDDI)的一个组成部分,它是基于国际洗钱活动的全球商业登记处。
WSDL是UDDI使用的语言。
WSDL Usage
WSDL常常与SOAP和XML Schema一起使用互联网提供网络服务。 连接网络服务的客户方案可以读到SDL,以确定服务器上有哪些功能。 使用的任何特殊数据类型都包含在以XML Schema为形式的WSDL档案中。 然后,客户可使用SOAP实际称呼WSDL所列的职能之一。
Understanding WSDL
WSDL将网络服务分为三个具体、可识别的内容,一旦确定,即可合并或重新使用。
可单独界定的《妇女发展权利宣言》的三个主要内容是:
Types
Operations
Binding
WSDL文件有各种内容,但包含在这三个主要内容中,这些内容可以作为单独文件开发,然后可以合并或重新使用,以形成WSDL完整的档案。
在这一理论中,我们遵循的是:
Format and Elements
货币汇兑人 WSDL将研究如下内容:
WSDL ─ Port Type
The <portType> 元件将多个电文内容结合起来,形成完整的单向或双向运行。 例如,A <portType>可将一项请求和一个答复信息合并为一项请求/反应行动。 这在SOAP服务中最常用。 甲型六氯环己烷可以确定多种作业。
Example
The portType element defines a single operation, called ConversionRate.
The operation consists of a single input message ConversionRateHttpPostIn.
The operation for Output message is ConversionRateHttpPostOut.
Patterns of Operation
WSDL支持四种基本业务模式——
One Way
该处收到电文。 因此,该行动有一个单一的投入要素。 单向操作的图表是:
<wsdl:definitions .... > <wsdl:portType .... > * <wsdl:operation name = "nmtoken"> <wsdl:input name = "nmtoken"? message = "qname"/> </wsdl:operation> </wsdl:portType > </wsdl:definitions>
Request ─ Response
该处收到信息并发出答复。 因此,该行动有一个投入要素,其次是一个产出要素。 为了消除错误,还可以具体列出任择过失因素。 要求答复行动图表是:
<wsdl:definitions .... > <wsdl:portType .... > * <wsdl:operation name = "nmtoken" parameterOrder = "nmtokens"> <wsdl:input name = "nmtoken"? message = "qname"/> <wsdl:output name = "nmtoken"? message = "qname"/> <wsdl:fault name = "nmtoken" message = "qname"/>* </wsdl:operation> </wsdl:portType > </wsdl:definitions>
Sopcit ─ Response
该处发出信息并收到答复。 因此,该行动有一个产出要素,其次是一个投入要素。 为了消除错误,还可以具体列出任择过失因素。 收费业务的图表是:
<wsdl:definitions .... > <wsdl:portType .... > * <wsdl:operation name = "nmtoken" parameterOrder = "nmtokens"> <wsdl:output name = "nmtoken"? message = "qname"/> <wsdl:input name = "nmtoken"? message = "qname"/> <wsdl:fault name = "nmtoken" message = "qname"/>* </wsdl:operation> </wsdl:portType > </wsdl:definitions>
Notifications
该处发出信息。 因此,业务有一个单一的产出要素。 通知操作的图表如下:
<wsdl:definitions .... > <wsdl:portType .... > * <wsdl:operation name = "nmtoken"> <wsdl:output name = "nmtoken"? message = "qname"/> </wsdl:operation> </wsdl:portType > </wsdl:definitions>
WSDL ─ Binding & Service
< binding> 内容提供了具体细节,说明如何实际将“portType>号”操作传送到电线上。
可通过多种运输方式提供这些设备,其中包括吉大港山区、吉大港山区、苏马普岛或西太平洋群岛。
具有约束力的文书提供了具体信息,说明正在采取哪些议定书来转让港口码头作业。
具有约束力的文书提供了服务所在地的信息。
对《国家行动计划》议定书而言,具有约束力的斜体和肥皂:具有约束性,并且运输是《国际行动计划》在《吉大港山区行动计划》议定书之上的信息。
你们可以为单一港口类型规定多重约束。
Service
<service> 内容界定了网络服务支持的港口。 每项辅助议定书都有一个港口要素。 服务要素是收集港口。
网络服务客户可以从服务内容中学习以下内容:
Where to access the service,
Through which port to access the web service, and
How the communication messages are defined.
服务要素包括提供可读文件的文件内容。
<wsdl:service name = "CurrencyConvertor"> <wsdl:port name = "CurrencyConvertorSoap" binding = "tns:CurrencyConvertorSoap"> <soap:address location = "http://www.webservicex.net/CurrencyConvertor.asmx" /> </wsdl:port> <wsdl:port name = "CurrencyConvertorSoap12"binding = "tns:CurrencyConvertorSoap12> <soap12:address location = "http://www.webservicex.net/CurrencyConvertor.asmx" /> </wsdl:port> <wsdl:port name = "CurrencyConvertorHttpGet" binding = "tns:CurrencyConvertorHttpGet"> <http:address location = "http://www.webservicex.net/CurrencyConvertor.asmx" /> </wsdl:port> <wsdl:portname = "CurrencyConvertorHttpPost"binding = "tns:CurrencyConvertorHttpPost"> <http:address location = "http://www.webservicex.net/CurrencyConvertor.asmx" /> </wsdl:port> </wsdl:service>Advertisements