发布和发现REST Web服务发现、REST、Web

2023-09-11 12:00:34 作者:淚、划过指尖

我是一名学生,新的Web服务。我有一个学术项目,我所要做的动态服务组合,客户端(codeD的客户,而不是人的客户端)将搜索Web服务和流出的搜索Web服务会选择任何一个在运行调用时间。我尝试使用基于SOAP的Web服务(JAX-WS)来实现它。但是我发现在互联网上的基于SOAP的服务没有太大的使用,所以我想实现的REST。

I am a student and new to web services. I have an academic project where I have to do dynamic service composition, where the client(coded client, not the human client) will search for web services and out of the searched web services it will choose any one to call at run time. I tried to implement it using SOAP based web services(JAX-WS). But I found on the internet that SOAP based services are not much in use so I tried to implement in on REST.

现在我的问题是我应该公布REST服务。使用SOAP(JAX-WS)服务有该服务可以发布和检索的实体UDDI。

Now my problem is where I should publish the REST service. With SOAP(JAX-WS) services there was an entity UDDI where the service could be published and searched.

请帮我出以下问题:

我们能不能​​发布和发现REST Web服务,而无需使用UDDI(因为UDDI是很难实现的)。

Could we publish and discover REST web services without using UDDI(because UDDI is tough to implement).

如果没有办法比UDDI等,那我怎么可能发布REST服务,UDDI。

If there is no way other than UDDI, then how could I publish a REST service to UDDI.

对于给定的情况下,我才做了一个正确的选择,通过选择REST作为实现方式,或者我应该转回到SOAP(JAX-WS)。

For the given scenario did I made a right choice by choosing REST as the implementation mode or should I shift back to SOAP(JAX-WS).

我会很感激的任何帮助。

I would be thankful for any help.

推荐答案

鉴于您的需求,将 apigee 剪?

(只是好奇)