Using the UDDI inquiry and publish services

Can someone tell me how to set-up an inquiry to find out the services offered by the registry?

thanks,
Jim

I suggest to have a look at the UDDI technical article in the CentraSite developer community :

http://www.softwareag.com/Corporate/community/dev_net/default.asp

Regards,
Gerd

:smiley: :smiley: Thank you Gerd! This was very much appreciated! I can actually get some results from an Inquiry.

Do you think we can do something like this with Natural?

Jim

Hi James,
in a CentraSite installation you might also try out http://localhost:53307/SoapInteractiveInterface/ which will give you a little test interface for UDDI queries and requests.
Regards,
Gerald

Hi Guys,
Seems like the UDDI technical article in the Centrasite developer community is not working anymore. I’m trying to get the libraries to develop the inquiry such as the libraries for this code that I found under Centrasite documentation:
//RegistryConfiguration containing the host, port, userId and
//password to connect to registry
RegistryConfiguration regConfig =
new RegistryConfiguration(“hostName”, “port”, “userId”, “password”);

//Creating the RegistryService using RegistryConfiguration
RegistryService regService =
RegistryService.Factory.newInstance(regConfig);

//connecting to registry. This method will fetch the AuthToken
//using get_authTokenAPI
regService.connect();

//Inquiring the registry for the service using find_service call
UDDI_Inquiry_SoapService inquirySoapService =
regService.getInquirySoapService();

//Constructing the find_service inquiry call
FindService findService = new FindService();
Name name = new Name();
name.setValue(“UDDI Inquiry Service”);
findService.setName(new Name[] {name});

//Issuing find_service inquiry call to
//CentraSite registry using UDDI_Inquiry_SoapService
ServiceList serviceList = inquirySoapService.find_service(findService);
ServiceInfos serviceInfos = serviceList.getServiceInfos();

//Getting the service Key for the first service
ServiceInfo serviceInfo = serviceInfos.getServiceInfo(0);
String serviceKey = serviceInfo.getServiceKey();

//Getting the service detail
GetServiceDetail getServiceDetail = new GetServiceDetail();
getServiceDetail.setServiceKey(new String[] {serviceKey});
getServiceDetail.setAuthInfo(regService.getAuthToken());
ServiceDetail serviceDetail =
inquirySoapService.get_serviceDetail(getServiceDetail);
BusinessService businessService =
serviceDetail.getBusinessService(0);
System.out.println("Fetched Service Name : " +
businessService.getName()[0].getValue());

Does anyone know where to get the supporting libraries?
Thanks,
Giang

Hi Giang,
All libraries for client development (UDDI, JAXR and WebDAV) can be founded under the $CENTRASITE_INSTALLATION/redist folder

Best Regards,
Moacy Barbosa