# VipWebService **Repository Path**: VipSoft/VipWebService ## Basic Information - **Project Name**: VipWebService - **Description**: SpringBoot CXF WebService SoapUI - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 4 - **Forks**: 0 - **Created**: 2021-07-10 - **Last Updated**: 2023-12-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # VipWebService #### 介绍 SpringBoot CXF WebService SoapUI 客户端调用服务时,地址一定不要用 localhost、127.0.0.1 否则浏览器里面能正常打开,看到 XML,担客户端无法调用(包括SoapUI) #### 客户端调用 http://localhost:8080/soap/dynamic/Test //动态调用 http://localhost:8080/soap/cxf/Test //cxf 生成代码的方式调用 #### 接口地址 调用地址,要用IP Restful => http://192.168.1.216:9090 WS => http://192.168.1.216:9090/ws/ # WebService 列表 #### 生成接口类 apache-cxf-3.3.1/bin 目录下执行下列命令 【生成的文件,不要随意放,否则可能会引起错误】 ./wsdl2java -encoding utf-8 -d /Users/jimmy/vipsoft/wsdl http://192.168.1.216:9090/ws/api?wsdl #### SoapUI调用 URL => http://192.168.1.216:9090/ws/api?wsdl ```xml 张三 ```