无需使用 Axis 即可在 Java 中生成 Web 服务客户端的简单方法 [英] Easy way to generate web service clients in Java WITHOUT using Axis

查看:28
本文介绍了无需使用 Axis 即可在 Java 中生成 Web 服务客户端的简单方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直使用 Eclipse WTP 中的 Web 服务生成来构建我的 Web 服务客户端,因为它相对易于使用.

I've always used the web service generation in Eclipse WTP to build my web service clients due to it's relative easy of use.

然而,在过去的几年里,随着我对它的了解越来越多,我看到了我的方式的错误.

However, in the last couple years, as I've learned more about it I've seen the error of my ways.

我读到应该使用众多其他 Java Web 服务客户端平台之一,例如 CXF、Metro 等.

I've read that one should use one of the plethora of other java web service client platforms such as CXF, Metro, etc.

在这一点上,我并不特别关心我使用的是哪个平台——只要它不是 Axis.

At this point, I don't particularly care which platform I use - so long as it is not Axis.

我的问题是 - WTP 工具使得在 Java 中生成 Web 服务客户端变得容易.是否有类似易用性的类似工具、脚本、程序或教程?

My question is - the WTP tooling makes it easy to generate web service clients in java. Are there any similar tools, scripts, programs or tutorials that are of similar ease of use?

我真的没有时间去学习 SOAP、RPC 等的所有复杂性.所以请记住,我不是真的想偷懒,而是务实.

I don't really have time to learn all the intricacies of SOAP, RPC, etc. so please keep in mind that I'm not really trying to be lazy so much as I am pragmatic.

提前致谢.

推荐答案

SoapUI 可以为许多多个 Java 肥皂堆栈,如轴 1 &2、xfire、GStep、JAX-WS、JAX-RPC、JBoss WS、Oracle Proxy、cxf、.Net、GStep.这是有关如何操作的教程.

SoapUI can generate the soap clients for many multiple java soap stacks like axis 1 & 2, xfire, GStep, JAX-WS, JAX-RPC, JBoss WS, Oracle Proxy, cxf, .Net, GStep. Here is the tutorial on how to do it.

这篇关于无需使用 Axis 即可在 Java 中生成 Web 服务客户端的简单方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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