Axis2客户端的最小类路径是什么? [英] What's the minimum classpath for an Axis2 client?

查看:175
本文介绍了Axis2客户端的最小类路径是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用Maven2构建一个Axis2客户端(我只是访问一个远程Web服务,我实现一个!),我不想添加21MB的JAR到我的项目。当我用ADB转换WSDL时,我需要在我的pom.xml中编译代码?

I want to build an Axis2 client (I'm only accessing a remote web service, I'm not implementing one!) with Maven2 and I don't want to add 21MB of JARs to my project. What do I have to put in my pom.xml to compile the code when I've converted the WSDL with ADB?

推荐答案

注意:此回复由Aaron Digulla本人提供。以下是他自己答案的确切文字。)

(Note: This response was provided by Aaron Digulla himself. What follows is the exact text of his own answer.)

在maven2中,使ADB客户端工作的最小依赖关系(与从WSDL创建Java类的方式中的ADB)是:

In maven2, the minimum dependency set to make an ADB client work ("ADB" as in the way you created the Java classes from the WSDL) is this:

    <dependency>
            <groupId>org.apache.axis2</groupId>
            <artifactId>axis2-kernel</artifactId>
            <version>1.4.1</version>
    </dependency>
    <dependency>
            <groupId>org.apache.axis2</groupId>
            <artifactId>axis2-adb</artifactId>
            <version>1.4.1</version>
    </dependency>

嗯...似乎我无法将其标记为正确答案。有人可以复制一下这样我可以标记他的帖子吗?

Hmmm... it seems I can't flag that as the correct answer. Can someone please copy this so I can flag his post?

这篇关于Axis2客户端的最小类路径是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆