Service.xml

Service.xml keeps a tree structure of the published services. It also keeps the attributes used to initiate the widget according to the widget runtime standard.

Here is an example of Service.xml:

<?xml version="1.0" encoding="UTF-8"?>
<ServiceList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://btt.cn.ibm.com/61/Web20" 
  xsi:schemaLocation="http://btt.cn.ibm.com/61/Web20 ../BTTWeb20/schema/Service.xsd">
  <ServiceRepository id="bttroot" name="my_service" desc="my_service" 
    logo="theme/servicelogo/serviceList.gif" expand="1">
    <ServiceCategory id="0" name="basic_widget" desc="basic_widget" 
      logo="theme/servicelogo/serviceCategory.gif">
      <Service id="0.1" name="html_service" desc="html_service" logo="theme/servicelogo/navlogo.gif">
        <Widget name="simpleHTMLWgt">
          <attribute name="url" value="http://www.ibm.com" />
        </Widget>
      </Service>
    </ServiceCategory>
	  ...
  </ServiceRepository>
</ServiceList>

Parameters specification for each tag are as follows: