CXF框架 个人不喜欢使用wsimport工具: 1.考虑到远端的服务接口发生变化,本地的接口还需要重新同步下 2.项目中无端多了些冗余的代码 这样我们选择cxf的动态调用接口吧,使用DynamicClientFactory这个接口,到可以避免上面的问题.但是DynamicClientFactory在首次使用时会生成所有的类,你可以在日志中看到如下: 信息: Created classes: com.wc8.Add, com.wc8.AddResponse, com.wc8.Cat, com.w