Does A Web Service Have To Be Registered?

随声附和 提交于 2019-12-06 03:52:33

You can certainly use the service without the UDDI registry.

I have created several Web Services and have immediately used them without registering them. Registration gives others confidence that your Web Service is legitimate and descriptions of how to interact with those services.

Imagine doing development where you have to register any Web Service before using it. Yikes!

No, not at all.

You are probably talking about API directories you may register your WS at. Like UDDI or what it’s named. Entirely optional.

Nobody uses UDDI anymore. It's an idea whose time has come and gone.

It was thought that there would be public registries of web services that everyone would use to find a web service to meet their needs. That never happened.

How could either the service or the app know whether or not the service was registered?

Furthermore, why would they care?

If you're trying to use service orientation the right way, your web services should be registered within a service registry. The registry should contain the published contract of the services and any meta-data that helps the discovery process.

A different questions is: does a service consumer program need to look up a registry and dynamically bind the service it needs to call? NO, NOT AT ALL.

But then, what discovery process am I talking about? I'm referring to a human (developer, architect, etc.) who is designing/developing a program that needs to call a service. This person should have means to search what services are available in his/her organization. If not, the benefit of reusing services is compromised. Discovery is also about humans finding out there's a service somewhere in the IT organization that offers the functionality they want. In this case, the registry can be as simple as an html report that is created and updated manually or generated by parsing (xslt comes handy) the wsdl files.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!