File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Is it necessary to expose a webservice at UDDI  if both the service and client know each other ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Is it necessary to expose a webservice at UDDI  if both the service and client know each other ?" Watch "Is it necessary to expose a webservice at UDDI  if both the service and client know each other ?" New topic
Author

Is it necessary to expose a webservice at UDDI if both the service and client know each other ?

Ramna Reddy
Ranch Hand

Joined: Aug 06, 2006
Posts: 96
Please answer the following questions, if it is not clear ,let me know ...

1) Is it necessary to expose a webservice at UDDI if both the service and client know each other,I mean both the client and service are in same organisation but run on different servers ?

2) If a Web service is implemented using jaxws and want to expose it , Does it should to register it at UDDI or somewhere else ?

The client who wants to use this service have to generate the client stubs using the wsdl provided by implemented service,..am I right ?

3) If I am writing a service and client myself,that means the client knows the location of server,in this case do I still need registering with UDDI ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42915
    
  68
1) Is it necessary to expose a webservice at UDDI if both the service and client know each other,I mean both the client and service are in same organisation but run on different servers ?

Necessary? No. Advantageous? Possibly, depending on the circumstances.

2) If a Web service is implemented using jaxws and want to expose it , Does it should to register it at UDDI or somewhere else ?

Unless the circumstances are more complicated than what you're describing, then, generally speaking, no.

The client who wants to use this service have to generate the client stubs using the wsdl provided by implemented service,..am I right ?

Yes, the WSDL is the way to describe a WS.

3) If I am writing a service and client myself,that means the client knows the location of server,in this case do I still need registering with UDDI ?

No, there are very few scenarios where using UDDI is advantageous. Although it is still used here and there -mainly internally in large organizations- it largely failed to establish itself in the market.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is it necessary to expose a webservice at UDDI if both the service and client know each other ?