Anders Ljusberg
2009-06-22 09:00:01 UTC
Hi, I'm trying to get a list of all Categorization Schemes using the UDDI
SDK (3.0)
---
FindTModel ft = new FindTModel();
ft.CategoryBag.KeyedReferences.Add(new
KeyedReference(CommonCanonical.UddiOrgTypes, "categorization", null));
ft.CategoryBag.KeyedReferences.Add(new
KeyedReference(CommonExtended.MicrosoftComCategorizationBrowsable, "1",
null));
TModelList list = ft.Send(Connection);
---
However, I get nothing returned.
After a little bit of research I found that replacing
CommonExtended.MicrosoftComCategorizationBrowsable with the hard-coded value
"uddi:microsoft-com:categorizations-browsable" gets me the result I was
looking for. It seems that CommonExtended still contains the "old-style"
Uddi v2.0 keys.
Is there a reason why the properties in CommonExtended are not upgraded to
the Uddi v3.0 keys? And shouldn't the old keys work anyway?
Regards,
Anders Ljusberg
SDK (3.0)
---
FindTModel ft = new FindTModel();
ft.CategoryBag.KeyedReferences.Add(new
KeyedReference(CommonCanonical.UddiOrgTypes, "categorization", null));
ft.CategoryBag.KeyedReferences.Add(new
KeyedReference(CommonExtended.MicrosoftComCategorizationBrowsable, "1",
null));
TModelList list = ft.Send(Connection);
---
However, I get nothing returned.
After a little bit of research I found that replacing
CommonExtended.MicrosoftComCategorizationBrowsable with the hard-coded value
"uddi:microsoft-com:categorizations-browsable" gets me the result I was
looking for. It seems that CommonExtended still contains the "old-style"
Uddi v2.0 keys.
Is there a reason why the properties in CommonExtended are not upgraded to
the Uddi v3.0 keys? And shouldn't the old keys work anyway?
Regards,
Anders Ljusberg