开发者

Web service WSDL - Type Expansion and backward compatibility

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜