关闭

maven 利用axis2插件配置webservice

标签: mavenwebservice
2189人阅读 评论(0) 收藏 举报
分类:

maven 利用axis2配置webservice

<plugin>
	<groupId>org.apache.axis2</groupId>
	<artifactId>axis2-java2wsdl-maven-plugin</artifactId>
	<version>1.5.4</version>
	<executions>
		<execution>
			<id>Test</id>
			<phase>process-classes</phase>
			<goals>
				<goal>java2wsdl</goal>
			</goals>
			<configuration>
				<className>com.test.Test</className>
				<locationUri>http://localhost/services/Test</locationUri>
				<outputFileName>${project.build.directory}/wsdl/Test.wsdl</outputFileName>
			</configuration>
		</execution>
		<execution>
			<id>Test2</id>
			<phase>process-classes</phase>
			<goals>
				<goal>java2wsdl</goal>
			</goals>
			<configuration>
				<className>com.test.Test2</className>
				<locationUri>http://localhost/services/Test2</locationUri>
				<outputFileName>${project.build.directory}/wsdl/Test2.wsdl</outputFileName>
			</configuration>
		</execution>
	</executions>
</plugin>


0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:182483次
    • 积分:3475
    • 等级:
    • 排名:第9546名
    • 原创:165篇
    • 转载:11篇
    • 译文:1篇
    • 评论:26条
    文章分类
    最新评论