Unable to publish WSDL spec (uddi-org:types)
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Thursday, August 22, 2002 03:45 AM

Has anyone been able to register a WSDL spec with JWSDP JAXR registry provider? I tried to do the following: ClassificationScheme uddiOrgTypes = (ClassificationScheme)qm.getRegistryObject("uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4"); System.out.println("uddiOrgTypes: " + uddiOrgTypes); Classification wsdlSpecClassification = lcm.createClassification(uddiOrgTypes, "wsdlSpec", "wsdlSpec"); To register uddi-org:types via its well known ID. But the getRegistryObject() method or scheme seems not to be supported. The result was javax.xml.registry.UnsupportedCapabilityException at com.sun.xml.registry.uddi.QueryManage   More>>

Has anyone been able to register a WSDL spec with JWSDP JAXR registry provider? I tried to do the following:

			
ClassificationScheme uddiOrgTypes = (ClassificationScheme)qm.getRegistryObject("uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4");
System.out.println("uddiOrgTypes: " + uddiOrgTypes);
Classification wsdlSpecClassification =
lcm.createClassification(uddiOrgTypes, "wsdlSpec", "wsdlSpec");


To register uddi-org:types via its well known ID. But the getRegistryObject() method or scheme seems not to be supported. The result was

			
javax.xml.registry.UnsupportedCapabilityException
at com.sun.xml.registry.uddi.QueryManagerImpl.getRegistryObject(Unknown Source)
at example.registry.RegistryClient.setClassification(Unknown Source)
at example.registry.RegistryClient.main(Unknown Source)
Exception in thread "main"


In the JWSDP tutorial, the examples use findClassificationSchemeByName , but it's no use since the object does not exist in the server and returns null.

Is there any other way to define uddi-org:types tModel?

Helder da Rocha

São Paulo, Brazil.

   <<Less
About | Sitemap | Contact