This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 41635
    
  55
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.


Ping & DNS - my free Android networking tools app
 
jQuery in Action, 2nd edition
 
subject: Is it necessary to expose a webservice at UDDI if both the service and client know each other ?