- From: Kees van Dieren <kees@ibuildings.nl>
- Date: Thu, 26 Sep 2002 16:48:25 +0200
- To: xml-dist-app@w3.org
We've got a CMS. The data in the CMS should be published in with a soap-server. A request to this server for a certain page, should give the structured data of a page, and the place where the data should be placed on the page. This is already implemented in our CMS. In our CMS a page exists of page-definitions. Page definitions exists of item-definitions. At the model of our CMS, I've created a SOAP message model. I think it would be like the following (only message return, without soap-envelop): <!-- type of request: get all products from company Smarket in this answer there are only 2 products xml-def is to preview it in IE, to read it simpler --> <?xml version="1.0" encoding="ISO-8859-1" ?> <return> <content> <productlist> <product> <name>Butter</name> <price>0.60</price> </product> <product> <name>1 KG patatoes</name> <price>1.25</price> </product> </productlist> <companyinfo> <company> <name>Teh supermarket</name> <address>Longway 39 </address> <place>London</place> <telephone>0118 41 50 54</telephone> </company> </companyinfo> </content> <structure> <pagedef> <item> <name>productlist</name> <itemdef>product</itemdef> <sort>10</sort> <count>0</count> </item> <item> <name>CompanyInfo</name> <itemdef>Owner</itemdef> <sort>20</sort> <count>1</count> </item> </pagedef> <itemdef> <name>product</name> <field> <name>name</name> <sort>10</sort> <type>regel</type> </field> <field> <name>price</name> <sort>20</sort> <type>regel</type> </field> </itemdef> <itemdef> <name>company</name> <field> <name>name</name> <sort>10</sort> <type>regel</type> </field> <field> <name>address</name> <sort>20</sort> <type>regel</type> </field> <field> <name>place</name> <sort>20</sort> <type>regel</type> </field> <field> <name>telephone</name> <sort>30</sort> <type>regel</type> </field> </itemdef> </structure> </return> xml-content inside the <content> tag is content. xml-content inside the <structure> tag tells how this content is structured. This is the structure of the CMS from our company only. But my question is: is there already a standard for something like this? For publishing CMS-content using soap-servers? We like to publish our content the way that it could easily be read by other websystems. Thanx in advance for your help. I hope my question isn't indistinct for you. Regards, Kees
Received on Thursday, 26 September 2002 10:47:24 UTC