简体   繁体   中英

Would using CXF instead of Axis for Restfull SOAP call decouple client from changes in wsdl?

Currently I am using Axis for Restfull SOAP calls to Rally's Web Service, but the application breaks every time there is a change in wsdl. Would switching to CXF fix this issue?

No. The point of a WSDL is that it's a contract. Client applications are meant to break if there's a change to the schema.

If you want something less tightly coupled, you can disable schema validation (some changes will still break things though) or use something more flexible like JSON.

Oh and there's no such thing as 'RESTful SOAP'. REST and SOAP are alternatives.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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