<dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.10</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>${cxf.version}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http</artifactId> <version>${cxf.version}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http-jetty</artifactId> <version>${cxf.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-webapp</artifactId> <version>8.1.11.v20130520</version> </dependency> </dependencies> <build> <finalName>cxf-date</finalName> <plugins> <plugin> <groupId>org.apache.cxf</groupId> <artifactId>cxf-codegen-plugin</artifactId> <version>${cxf.version}</version> <executions> <execution> <id>generate-sources</id> <phase>generate-sources</phase> <configuration> <sourceRoot>src/main/resources/cxf</sourceRoot><!--就是生成文件存放的位置;可用这个表示项目路径,和下面的extraarg的包路径相结合${project.build.sourceDirectory}--> <wsdlOptions> <wsdlOption> <wsdl>***?wsdl</wsdl> <frontEnd>jaxws21</frontEnd> <faultSerialVersionUID>1</faultSerialVersionUID> <extraargs> <extraarg>-impl</extraarg> <extraarg>-client</extraarg> <extraarg>-p</extraarg> <!--这里为webservice的包指定到项目里的包目录--> <extraarg> http://www.opentravel.org/OTA/2003/05=com.test.ws.a </extraarg> <extraarg>-p</extraarg> <extraarg> http://htng.org/2014B=com.test.ws.b </extraarg> </extraargs> </wsdlOption> </wsdlOptions> </configuration> <goals> <goal>wsdl2java</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
相关推荐
maven windows客户端 maven windows客户端 maven windows客户端
maven项目 cxf webservice mongodb mysql 公司真实现目初期实现
NULL 博文链接:https://jishiweili.iteye.com/blog/2087930
ssm+maven框架,集成webService服务端 配置有定时器,拦截器,IP获取等工具类
项目导入成功后 生成方式 : 选中pom.xml运行Run As --- Goals:mybatis-generator:generate
maven项目发布生成可运行的jar文件,发布到服务器直接运行
maven-spring-mybatis-web+webservice
完整整合spring4、cxf3和maven3的服务端和客户端项目。
mybatis反向生成maven插件完美生成代码,运行generator插件 运行方法:在eclipse 中,选择pom.xml文件,击右键先择Run AS——>Maven Build… ——>在Goals框中输入:mybatis-generator:generate 运行即可 这样,...
这个主要是整合了solr的spring+hibernate+webservice的一个框架代码,给大家讲解了solr的批次汇入和增删改查方法的实现方式,给初学者一些代码参考,希望能够帮助大家
NULL 博文链接:https://fsh430623.iteye.com/blog/797827
EOVA框架整合WEBSERVICE ,eclipse maven环境 简单实用。内含说明.
NULL 博文链接:https://sunny-java-163-com.iteye.com/blog/484526
maven+spring+cxf 的webservice开发源码,欢迎大家指点,谢谢
maven 实战 所有源代码
maven-plantuml-plugin, 使用PlantUML语法生成UML图的Maven 插件 然而,这个项目不再被维护了。使用语法生成UML图表的一个 Maven 插件插件。重要说明如果你想使用PlantUML大于 8031的版本,你必须使用这个插件的版本...
将java生成可执行exe文件,可以直接在win下双击运行
本文主要介绍 Maven插件生成Mybatis代码,现在做开发的朋友有好多用Maven 来管理代码,这里给大家举个例子,有需要的同学可以看下