参考:https://www.liangzl.com/get-article-detail-12711.html

 https://www.cnblogs.com/e206842/p/9047294.html

https://blog.csdn.net/itdragons/article/details/75390756

https://blog.csdn.net/zzhuan_1/article/details/84499188

推荐动态调用,不要生成类那种,不灵活

上面红色部分结合起来使用,可以避免xml命名空间写死的问题,真正的动态调用

springboot整合的pom有时不匹配当前版本会报错,需多试几次,不行就直接引入下列pom即可

<dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-rt-frontend-jaxws</artifactId>
            <version>3.1.10</version>
        </dependency>

        <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-rt-transports-http</artifactId>
            <version>3.1.10</version>
        </dependency>

 

相关文章:

  • 2021-04-17
  • 2021-12-03
  • 2022-02-20
  • 2022-12-23
  • 2022-12-23
  • 2021-07-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-21
  • 2022-02-17
  • 2022-01-25
  • 2021-11-27
  • 2022-12-23
  • 2021-10-15
  • 2021-06-07
相关资源
相似解决方案