OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ws-caf-implement message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Common items for the catalog


Hello implementors,
In the RetailOrder.xsd schema, a Catalog is defined as an element
containing a list of CatalogItems.  This catalog must be returned by a
call to any of our implementations of Retailer.getCatalog() operation
(see the Retailer.wsdl).  Here is the definition of CatalogItem in the
RetailerOrder.xsd.

<xsd:complexType name="CatalogItem">
		<xsd:sequence>
			<xsd:element name="name"          type="xsd:string" minOccurs="1"
maxOccurs="1"/>
			<xsd:element name="description"   type="xsd:string" minOccurs="1"
maxOccurs="1"/>
			<xsd:element name="productNumber" type="tns:productNumber"
minOccurs="1" maxOccurs="1"/>
			<xsd:element name="category"      type="xsd:string" minOccurs="1"
maxOccurs="1"/>
			<xsd:element name="brand"         type="xsd:string" minOccurs="1"
maxOccurs="1"/>
			<xsd:element name="price"         type="xsd:decimal" minOccurs="1"
maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>

What I propose is that we come up with a list of a few common items. 
Although it will be useful for each implementor to have a list of unique
items.  It will also be useful, I believe, for us to have common items
so that we can show distributed inventory management (not necessarily so
much in this demo, but when we add support for transactions).  Basically
an implementor would return, at a minimum, this list of catalog items. 
Each implementor may change a few details of the catalog items.  For
example the description, and the price. However, product numbers MUST be
unique across all implementations and thus for each productNumber,
category, brand and name must match.  
I have attached an xml file with some proposed items that can be the
default list.  Again, it is encouraged that once we agree on a default
list, that each implementer has more items than the default.  Please
take a look at the catalog items and comment on whether they should be
the default or if you would prefer there be no default.

Cheers,
Simeon
<?xml version="1.0" encoding="utf-8"?>
<catalog>
    <Item>
        <name>DVD Player</name>
        <description>Basic DVD player</description>
        <productNumber>1000</productNumber>
        <category>Home Video/Audio</category>
        <brand>Brand 1</brand>
        <price>135.99</price>
    </Item>
    <Item>
        <name>VCR Player</name>
        <description>Basic VCR player</description>
        <productNumber>1001</productNumber>
        <category>Home Video/Audio</category>
        <brand>Brand 1</brand>
        <price>65.99</price>
    </Item>
    <Item>
        <name>MP3 Player</name>
        <description>MP3 player - 1GB storage</description>
        <productNumber>1002</productNumber>
        <category>Portable Electronics</category>
        <brand>Brand 1</brand>
        <price>248.99</price>
    </Item>
    <Item>
        <name>Digital Camcorder</name>
        <description>Basic Digital Camcorder</description>
        <productNumber>1003</productNumber>
        <category>Portable Electronics</category>
        <brand>Brand 2</brand>
        <price>365.00</price>
    </Item>
    <Item>
        <name>Digital Camera</name>
        <description>Digital Camera - 3.0 MP</description>
        <productNumber>1004</productNumber>
        <category>Portable Electronics</category>
        <brand>Brand 2</brand>
        <price>135.99</price>
    </Item>
    <Item>
        <name>Linux PDA</name>
        <description>Linux PDA - 256MB Flash Memory / Mobile Linux OS / Bluetooth technology</description>
        <productNumber>1005</productNumber>
        <category>Portable Electronics</category>
        <brand>Brand 4</brand>
        <price>287.98</price>
    </Item>
    <Item>
        <name>GPS Receiver</name>
        <description>Plots directions, tracks your position and more.</description>
        <productNumber>1006</productNumber>
        <category>Misc. Electronics</category>
        <brand>Brand 3</brand>
        <price>135.99</price>
    </Item>
    <Item>
        <name>Ella Fitzgerald - Mack the Knife</name>
        <description>The Complete Ella in Berlin: Mack the Knife</description>
        <productNumber>1007</productNumber>
        <category>Music</category>
        <brand>Brand 5</brand>
        <price>14.99</price>
    </Item>
    <Item>
        <name>Tuff Gong - Bob Marley</name>
        <description>Bob Marley and The Wailers: Legend</description>
        <productNumber>1008</productNumber>
        <category>Music</category>
        <brand>Brand 6</brand>
        <price>12.99</price>
    </Item>
    <Item>
        <name>Voz D'Amor</name>
        <description>Cesaria Evora - Voz D'Amor</description>
        <productNumber>1009</productNumber>
        <category>Music</category>
        <brand>Brand 5</brand>
        <price>18.99</price>
    </Item>
    <Item>
        <name>Buena Vista Social Club</name>
        <description>Ibrahim Ferer - Buena Vista Social Club</description>
        <productNumber>1010</productNumber>
        <category>Music</category>
        <brand>Brand 6</brand>
        <price>17.99</price>
    </Item>
</catalog>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]