简体   繁体   English

如何验证WSDL合同中断?

[英]How to validate WSDL contract break?

I have a notion of what breaks a WSDL contract or not ( What are considered non-breaking or backwards-compatible changes to a WSDL contract? ) but every time we make a change to some of our WSDLs we need to prove to other teams whether that change broke the contract or not. 我对什么会破坏WSDL合同有一个概念(什么是WSDL合同的不间断或向后兼容的更改? ),但是每次我们对某些WSDL进行更改时,我们都需要向其他团队证明变更是否违反了合同。 As we do not want to build a whole application as a client to our services, we would like to use some simpler tool like soapUI for that purpose. 由于我们不想将整个应用程序作为服务的客户端构建,因此我们希望使用一些更简单的工具(例如soapUI)来实现此目的。

I have looked into the soapUI assertions and on the internet but still have not found a clue. 我已经研究了soapUI断言和Internet,但是仍然没有找到线索。 Can anybody help me? 有谁能够帮助我?

Thanks and regards, 谢谢并恭祝安康,

您可以创建wsdl合同的xml方案或dtd,然后将其用于轻松验证wsdl xml的结构。

Look at WSDL Diff Command Line Tool . 看一下WSDL Diff命令行工具 This tool generates HTML report based on two WSDL files of your service (original and modified). 此工具基于服务的两个WSDL文件(原始和已修改)生成HTML报告。 In the report you can see all the breaking changes introduced in the modified contract. 在报告中,您可以看到修改后的合同中引入的所有重大更改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM