Java Web服务客户端: [英] Java web service client:

查看:175
本文介绍了Java Web服务客户端:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个Web服务客户端,需要执行在带有axis2的tomcat上公开的操作。客户端具有所需的所有wsdl文件。我无法使用netbeans或eclipse静态导入它们,因为客户端需要在运行时发现wsdl(这已经完成)然后按固定顺序执行它们...
我该怎么办?我的程序能够获取那些wsdl文件,但我不知道如何处理它们......我应该使用什么:jax-ws? JAX-RPC?你能给我一个指南或别的链接吗?

I'm developing a web service client that needs to execute operation exposed on tomcat with axis2. The client has all the wsdl files that are needed. I can't import them statically with netbeans or eclipse because the client needs to discover the wsdl at runtime (this has been already done) and then execute them in an fixed order... What should I do? My program is able to get those wsdl files but I don't know what to do with them... What should I use: jax-ws? jax-rpc?? Can you give me a link to a guide or something else??

提前谢谢你

推荐答案

根据您的堆栈,您可以使用各种工具/框架/库编写Web服务客户端。例如 Spring-WS Apache CXF JAX-WS RI 。看一下,你就会感觉如何使用webservices。

Depending on your stack you can write webservice clients using a variety of tools/framework/libraries. Such as Spring-WS, Apache CXF or JAX-WS RI. Take a look at some and you'll get a feeling how to consume webservices.

这篇关于Java Web服务客户端:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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