标签:soaphead ade version als artifact 2.4 TE 3.2 generate
<plugin> <groupId>org.apache.cxf</groupId> <artifactId>cxf-codegen-plugin</artifactId> <version>3.2.4</version> <executions> <execution> <id>generate-sources-w2j</id> <phase>generate-sources</phase> <configuration> <sourceRoot>src/main/java</sourceRoot> <wsdlOptions> <wsdlOption> <wsdl>${basedir}\src\main\resources\wsdl\20180628-OnePoint.svc-D11V2-single.wsdl</wsdl> <extendedSoapHeaders>true</extendedSoapHeaders> <autoNameResolution>true</autoNameResolution> <bindingFiles> <bindingFile>${basedir}\src\main\resources\wsdl\jaxb-bindings.xml</bindingFile> </bindingFiles> <extraargs> <extraarg>-p</extraarg> <extraarg>http://schemas.microsoft.com/2003/10/Serialization/=wsclient.mystifly.com.microsoft.schemas._2003._10.serialization</extraarg> <extraarg>-p</extraarg> <extraarg>http://schemas.microsoft.com/2003/10/Serialization/Arrays=wsclient.mystifly.com.microsoft.schemas._2003._10.serialization.arrays</extraarg><extraarg>-p</extraarg> <extraarg>Mystifly.OnePoint=wsclient.mystifly.onepoint.mystifly</extraarg> <extraarg>-p</extraarg> <extraarg>Mystifly.OnePoint.OnePointEntities=wsclient.mystifly.onepointentities.onepoint.mystifly</extraarg> <extraarg>-p</extraarg> <extraarg>http://schemas.datacontract.org/2004/07/Mystifly.OnePoint=wsclient.mystifly.org.datacontract.schemas._2004._07.mystifly</extraarg><extraarg>-p</extraarg> <extraarg>http://schemas.datacontract.org/2004/07/Mystifly.OnePoint.AirRules1_1=wsclient.mystifly.org.datacontract.schemas._2004._07.mystifly_onepoint</extraarg> </extraargs> </wsdlOption> </wsdlOptions> </configuration> <goals> <goal>wsdl2java</goal> </goals> </execution> </executions> </plugin>
Maven CXF wsdl2Java 给指定全名空间设置包名
标签:soaphead ade version als artifact 2.4 TE 3.2 generate
原文地址:https://www.cnblogs.com/boazy/p/9246010.html