Publish Service to CentraSite 3.1

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

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!