List Info

Thread: Create user-defined category




Create user-defined category
country flaguser name
United States
2007-02-19 09:56:08
Does anyone know how I can create a user-defined category in
Juddi?
Thanks
-- 
View this message in context: http://www.nabble.com/Create-user-defi
ned-category-tf3253578.html#a9044493
Sent from the jUDDI - User mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: juddi-user-unsubscribews.apache.org
For additional commands, e-mail: juddi-user-helpws.apache.org


Re: Create user-defined category
user name
2007-02-20 06:26:04
Hello, Tom!
I'll outline an example how you could add a user-defined
category to juddi.
Let's say you want to tag your service by adding a new
service category: 
"laundry services".

You need to reference a namespace for this category, such as
"UNSPSC" 
(http://en.wikiped
ia.org/wiki/UNSPSC).

Since UNSPSC is already a built-in namespace in juddi, you
won't need to 
define "UNSPSC" within juddi itself (otherwise you
would do that by 
referencing the uddi-org:types tModel).

Let's say the tModelKey for UNSPSC within juddi is 
uuid:CD153257-086A-4237-B336-6BDCBDCC6634.

To add a new service category "laundry services"
to your service you 
just need to add the following keyedReference node to the
categoryBag of 
your service:

<keyedReference
 tModelKey="uuid:CD153257-086A-4237-B336-6BDCBDCC6634&q
uot;
 keyName="laundry services"
 keyValue="12345" />

The keyValue "12345" was just my own choice, since
I don't the value for 
"laundry services" within the UNSPSC
specification.

Hope I could clarify things for you a bit.







> Does anyone know how I can create a user-defined
category in Juddi?
> Thanks
>   


------------------------------------------------------------
---------
To unsubscribe, e-mail: juddi-user-unsubscribews.apache.org
For additional commands, e-mail: juddi-user-helpws.apache.org


Re: Create user-defined category
user name
2007-03-03 18:08:40
My guess is that Tom is asking how to define a new
categorization
scheme -- for example, a way to indicate whether a service's
status:
development, test, or production.

This document describes how to define a new taxonomy in UDDI
v2:
http://
www.oasis-open.org/committees/uddi-spec/doc/tn/uddi-spec-tc-
tn-taxonomy-provider-v100-20010717.htm

To summarize:
You must define a new tModel and specify that the type of
tModel is a
categorization. e.g., add this keyed reference to the
tModel's
ctaegoryBag:

 <keyedReference
       
tModelKey="uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4&qu
ot;
        keyName="uddi-org:types"
        keyValue="categorization"/>

You can also indicate whether the values specified for the
taxonomy
are checked or unchecked:

 <keyedReference
       
tModelKey="uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4&qu
ot;
        keyName="uddi-org:types"
        keyValue="checked"/>

The paper tells you how to build a validation routine to
check the values.

After you have created the tModel, you can then use it in in
a keyed
reference to add it other category bags to specify
properties to other
entities.

Anne

On 2/20/07, Jason Milad Daivandy <JasonDDgmx.de> wrote:
> Hello, Tom!
> I'll outline an example how you could add a
user-defined category to juddi.
> Let's say you want to tag your service by adding a new
service category:
> "laundry services".
>
> You need to reference a namespace for this category,
such as "UNSPSC"
> (http://en.wikiped
ia.org/wiki/UNSPSC).
>
> Since UNSPSC is already a built-in namespace in juddi,
you won't need to
> define "UNSPSC" within juddi itself
(otherwise you would do that by
> referencing the uddi-org:types tModel).
>
> Let's say the tModelKey for UNSPSC within juddi is
> uuid:CD153257-086A-4237-B336-6BDCBDCC6634.
>
> To add a new service category "laundry
services" to your service you
> just need to add the following keyedReference node to
the categoryBag of
> your service:
>
> <keyedReference
> 
tModelKey="uuid:CD153257-086A-4237-B336-6BDCBDCC6634&qu
ot;
>  keyName="laundry services"
>  keyValue="12345" />
>
> The keyValue "12345" was just my own choice,
since I don't the value for
> "laundry services" within the UNSPSC
specification.
>
> Hope I could clarify things for you a bit.
>
>
>
>
>
>
>
> > Does anyone know how I can create a user-defined
category in Juddi?
> > Thanks
> >
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: juddi-user-unsubscribews.apache.org
> For additional commands, e-mail: juddi-user-helpws.apache.org
>
>

------------------------------------------------------------
---------
To unsubscribe, e-mail: juddi-user-unsubscribews.apache.org
For additional commands, e-mail: juddi-user-helpws.apache.org


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )