Contract first webservices

http://cxf.apache.org/docs/defining-contract-first-webservices-with-wsdl-generation-from-java.html

http://www.liquid-reality.de/display/liquid/2008/08/20/Defining+Contract+first+webservices+by+generating+wsdl+from+java

约定优先,先定义WSDL,再根据WSDL生成Service和Client;

不过WSDL中的自定义type,可能先用JAVA类写,再用工具将其转成XSD。上面的链接详细介绍了这种方法,值得收藏。

你可能感兴趣的:(Contract first webservices)