Java lightweight soap Client Library

Can anyone recommend a good java open source library to build a simple soap web service client? I'm looking for something with minimal dependencies and configurations that can work in a Java 5 se environment Upgrading to Java 6 is not an option for this project. I'd rather avoid using the complete J2EE container if I can avoid it I don't need publishing and services, I can only consume

I'm currently using Axis2, but I have to pull an additional jar of about 15MB just to simply call a web service without NoClassDefFoundError, and I'm looking for something less bloated

I've also seen CXF, but I don't want to use it because it is tightly coupled with spring Spring is not a 100% deal bankruptcy, but if possible, I'd rather avoid it

Any suggestions?

Solution

In spring 3.0, the big s pring Jar is decomposed into modules that can be reduced in size

Check spring Web Services

WS Client Example

The disadvantage is that you have to manage many dependencies between jars, which may become complicated if you don't want to introduce Maven This is why I still use the axis (including compatibility issues)

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>