aspose file tools*
The moose likes Web Services and the fly likes Does glassfish having UDDI registry server ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Does glassfish having UDDI registry server ?" Watch "Does glassfish having UDDI registry server ?" New topic
Author

Does glassfish having UDDI registry server ?

bikkie bansal
Greenhorn

Joined: Oct 14, 2008
Posts: 17
Hello All,



I am having NetBean 6.1 (20080603 build).

I want to register and publish all services to the registry.

I am just wondering whether glassfish is having its own registry server or not? If yes, than what are the steps to register the services?



During search in sun website and community I found that glassfish supports EBXML and UDDI v3.0. For configuration of glassfish with EBXML I found one document here.

https://glassfish.dev.java.net/javaee5/ws-mgmt/registry/registryhome.html



This document is quit old (Feb. 2006) which says that first install JWSDP 1.6 and it is compatible with application server 8.2. JWSDP 2.0 is compatible with beta version of 9.0.

I tried to install to JWSDP 2.0. During installation it asked the path of web container, when I gave my glassfish path it throw error that your container is not 8.1.what does it mean?



Please assist me how to get rid of this situation. Is there any other way of doing this than please let me know.



Thanks.
[ October 14, 2008: Message edited by: vikas kumar bansal ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42947
    
  70
Welcome to JavaRanch.

GlassFish does not contain a UDDI registry, which is why you need to install JWSDP 1.6 (which does contain one).

The installation instructions you linked to only talk about JWSDP 1.6, so I'm not surprised that JWSDP 2.0 does not work.

The instructions also mention that JWSDP 1.6 is only compatible with "Application Server 8.2, J2EE 1.4 SDK and Tomcat 5.0 for JWSDP". Note that these are the servers the registry can run in, not the servers that can publish to the registry once it is running (which include GlassFish).

So you need to install and run one of those servers in addition to GlassFish, just for running the registry.
bikkie bansal
Greenhorn

Joined: Oct 14, 2008
Posts: 17
Hello ULF,

thanks for reply.
As you told that JWSDP 1.6 is compatible only with Tomcat 5.0 and Application Server 8.2 and I need to install one of those server in addition with glassfish(which contain my web service), I installed Tomcat 5.0 with JWSDP 2.0. I did step 1st (install registry).
But 2nd step is not cleared to me.


Configure RAR to work with AS9.0


which rar is it saying?
also i want to know how can i publish my web service (which is in glass fish) and how to call this service using registry after publishing I am not getting document.
please help me.

thanks.
[ October 16, 2008: Message edited by: vikas kumar bansal ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42947
    
  70
JWSDP 1.6 is rather old; I'm not surprised that you need to jump through some hoops to make it work nowadays. You could try http://uddi4j.sourceforge.net/ instead.

UDDI has never become widely used, which probably explains why there isn't much interest in providing an easy-to-use way to run a registry. (Note that this is different from providing the JAXR client APIs - those are part of JEE, and thus supported by every conforming server.)
[ October 16, 2008: Message edited by: Ulf Dittmer ]
bikkie bansal
Greenhorn

Joined: Oct 14, 2008
Posts: 17
Hello Ulf,

As you suggest now i am using uddi4j. i have downloaded uddi4j 2.5, axis 1.4 and ant suggeted in link you had given.
i also set all environment variables.
now how can i publish my web service using uddi4j. i am not getting any tutorial or demo for that.

can you help me?

thanks,
vikas
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42947
    
  70
i am not getting any tutorial or demo for that.

The home page points to an introductory article, and to a documentation page that explains the sample programs that come with it. What specifically are you looking for that is not covered by these materials?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Does glassfish having UDDI registry server ?