webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Using the UDDI inquiry and publish services

    Posted Tue February 12, 2008 05:06 PM

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

    thanks,
    Jim


    #API-Management
    #CentraSite
    #webMethods


  • 2.  RE: Using the UDDI inquiry and publish services

    Posted Wed February 13, 2008 08:13 AM

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

    [url]404

    Regards,
    Gerd


    #API-Management
    #webMethods
    #CentraSite


  • 3.  RE: Using the UDDI inquiry and publish services

    Posted Wed February 13, 2008 02:55 PM

    :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


    #CentraSite
    #API-Management
    #webMethods


  • 4.  RE: Using the UDDI inquiry and publish services

    Posted Wed May 28, 2008 08:36 AM

    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


    #webMethods
    #CentraSite
    #API-Management


  • 5.  RE: Using the UDDI inquiry and publish services

    Posted Thu August 26, 2010 05:36 PM

    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


    #webMethods
    #CentraSite
    #API-Management


  • 6.  RE: Using the UDDI inquiry and publish services

    Posted Fri August 27, 2010 09:41 PM

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

    Best Regards,
    Moacy Barbosa


    #API-Management
    #CentraSite
    #webMethods