IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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
Expand all | Collapse all

Publish Service to CentraSite 3.1

  • 1.  Publish Service to CentraSite 3.1

    Posted Fri September 05, 2008 06:32 PM

    Hi,
    I need to publish a service to CentraSite 3.1 using JaxR. I’m able to publish the service but not sure how to publish the WSDL information.

    What is the correct UDDI key for the wsdl URL that I need to use? Here is the code I’m using.

    Concept httpSpecificationConcept = (Concept) blcm.createObject(blcm.CONCEPT);

    Key httpSpecificationKey = blcm.createKey(“uddi:72dd8920-d35e-11dc-b95b-9751cba4366f”);

    httpSpecificationConcept.setKey(httpSpecificationKey);

    httpSpecificationConcept.setValue(wsdlLocation);

    specificationLink.setSpecificationObject(httpSpecificationConcept);

    serviceBinding.addSpecificationLink(specificationLink);

                     // Add the serviceBinding to the service
    

    service.addServiceBinding(serviceBinding);

                     // Add the service to the organization
    

    org.addService(service);

    Collection orgs = new ArrayList();

    orgs.add(org);

    BulkResponse br = blcm.saveOrganizations(orgs);

    The error we get is

    This registry provider does not support client supplied keys Centrasite

    Thanks


    #API-Management
    #CentraSite
    #webMethods


  • 2.  RE: Publish Service to CentraSite 3.1

    Posted Mon September 08, 2008 02:03 PM

    This simplest way to do this is to use the WSDL Import utility functionality of CentraSite.
    Example code for this interface can be found in: see the JAXRAccessor.
    To do it by hand requires you to follow the UDDI technical note which is not easy!


    #CentraSite
    #API-Management
    #webMethods