• 请不要在回答技术问题时复制粘贴 AI 生成的内容
iszengmh
V2EX  ›  程序员

你们 webservice 都用框架生成 client 代码吗,如果只想增加一个新方法,要重新生成吗

  •  
  •   iszengmh · Dec 18, 2020 · 1777 views
    This topic created in 2152 days ago, the information mentioned may be changed or developed.

    你们 webservice 都用框架生成 client 代码吗,如果只想增加一个新方法,要重新生成吗?你们都清楚代码怎么写吗?还是都是手写的。以前用过 axis2 和 java 的都是生成代码的,由于测试问题,如果增加了一个方法的话,就只测试这个方法就好了,如果整个重新生成那整个都要测试

    2 replies  •  2021-01-01 19:03:29 +08:00
    dai875939260
    dai875939260
    Dec 18, 2020
    1
    用 CXF Dynamic Clients,虽然性能差了点。懒得去搞胡里花哨的
    dennissky
    dennissky
    Jan 1, 2021
    2
    springboot-webservices 能用吧,用 webservicetemplate 那个我记得,jaxb-maven-plugin
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4654 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 01:39 · PVG 09:39 · LAX 17:39 · JFK 20:39
    ♥ Do have faith in what you're doing.