From b40cfc1d6bc01ae70883671074b8d26f83fc90d1 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期五, 15 八月 2025 18:32:33 +0800 Subject: [PATCH] art: WMS相关接口代码,WebService wsdl2java插件集成 --- pom.xml | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/pom.xml b/pom.xml index 7c25535..060cc41 100644 --- a/pom.xml +++ b/pom.xml @@ -582,6 +582,32 @@ </nonFilteredFileExtensions> </configuration> </plugin> + <!-- CXF Codegen Plugin锛氭牴鎹� WSDL 鐢熸垚 Java 瀹㈡埛绔唬鐮� --> + <plugin> + <groupId>org.apache.cxf</groupId> + <artifactId>cxf-codegen-plugin</artifactId> + <version>3.5.5</version> <!-- 浣犲彲浠ヤ娇鐢ㄦ渶鏂扮殑绋冲畾鐗堟湰锛屾瘮濡� 3.5.6 / 4.x --> + <executions> + <execution> + <id>generate-sources</id> + <phase>generate-sources</phase> + <goals> + <goal>wsdl2java</goal> + </goals> + <configuration> + <!-- 鎸囧畾鐢熸垚鐨� Java 绫� 鏀惧湪鍝釜鐩綍涓嬶紙閫氬父鏄� target/generated-sources/cxf锛� --> + <sourceRoot>${project.basedir}/target/generated-sources/cxf</sourceRoot> + <wsdlOptions> + <wsdlOption> + <wsdl>${basedir}/src/main/resources/wsdl/WebService.asmx.wsdl</wsdl> + <!-- 鎴栬�呯洿鎺ヤ娇鐢� WSDL 鐨勭綉缁滃湴鍧� --> + <!-- <wsdl>http://10.101.0.182:8002/MesWebService/WebService.asmx?wsdl</wsdl> --> + </wsdlOption> + </wsdlOptions> + </configuration> + </execution> + </executions> + </plugin> </plugins> <resources> <resource> -- Gitblit v1.9.3