开发者

Web service WSDL - Type Expansion and backward compatibility

开发者 https://www.devze.com 2023-01-10 21:00 出处:网络
I have a requirement to add additonal enumeration items to a web servic开发者_如何学Pythone response and I want to know any best practices around this. I assume this is considered a non-backward compa

I have a requirement to add additonal enumeration items to a web servic开发者_如何学Pythone response and I want to know any best practices around this. I assume this is considered a non-backward compatible change?

Should I employ a web service versioning aproach here?

Thanks in advance.


Based on your description it sounds like you could just make the additional elements optional (minOccurs=0) to keep the WSDL backward compatible without major changes usually required for versioning for backward compatibility. Here is a nice article on the subject: http://www.ibm.com/developerworks/java/library/ws-soa-backcomp/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号