使用REST服务调用SOAP服务 [英] Calling a SOAP service using REST service

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

问题描述

我想使用REST服务来调用SOAP服务.任何人都可以分享一些示例程序或代码片段,以便我们可以使用JAX-RS(Jersey)编写的REST服务来调用soap服务.我正在使用jdk 1.7&月食.我们将使用什么来指代肥皂服务?请注意,我是Web服务的新手,因此示例将为您带来巨大的帮助!

I want to call a SOAP service using REST service. Can anybody please share some example programme or snippets where we can invoke a soap service using JAX-RS(Jersey) written REST service. I am using jdk 1.7 & eclipse juno. What will we be using to refer to the soap service? Please note that I am entirely new to webservice, so examples will be a huge help!

推荐答案

您不能使用REST服务框架来访问SOAP Web服务.这是两种完全不同的技术.

You cannot use a REST service framework to access a SOAP Web-Service. This are two completely different technologies.

这就像您在问如何在高速公路上驾驶机车...

It's like you're asking how to drive with a locomotive on a motorway...

这篇关于使用REST服务调用SOAP服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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