问题
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.
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.
Kindly help me out with following issues:
Could we publish and discover REST web services without using UDDI(because UDDI is tough to implement).
If there is no way other than UDDI, then how could I publish a REST service to UDDI.
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.
回答1:
Given your needs, would apigee cut it?
(Just curious)
回答2:
It seems that UDDI is compatible to REST services :http://apachejuddi.blogspot.fr/2014/01/uddi-as-registry-for-rest-services.html
来源:https://stackoverflow.com/questions/10976159/publishing-and-discovering-rest-web-services