Remarks regarding the schema

Hi,

I had a closer look at the schema provided in the submission and I  
have some remarks regarding it:

1. At which WSDL version is the schema aimed?

 From the text it seems that it is WSDL 2. But the schema only works  
with WSDL 1.1 as "documented" from WSDL 1.1 is referenced. In WSDL 2  
it is called "DocumentedType".

so "documented" should either be "tDocumented" (WSDL 1.1) or  
"DocumentedType" (WSDL 2).


2.

Both precondition and effect are defined as restrictions of anyType:

<element name="precondition">
     <complexType>
       <complexContent>
	<restriction base="anyType">
	  <attribute name="name" type="string" />
	  <attribute name="modelReference" type="anyURI" />
	  <attribute name="expression" type="string" />
	</restriction>
       </complexContent>
     </complexType>
</element>

But you only specify attributes. Hence, a restriction does not do  
anything. The following should work equally well:

<element name="precondition">
     <complexType>
	<attribute name="name" type="string" />
	<attribute name="modelReference" type="anyURI" />
	<attribute name="expression" type="string" />
     </complexType>
</element>

3.

In section 4.5 Service Categorization you specify a category as follows:

<element name="category" maxOccurs="unbounded">
   <complexType>
    <complexContent>
      <extension base="wsdl:interface">
       <attribute name="categoyname" type="NCName" use="required"/>
       <attribute name="taxonomyURI" type="anyURI" use="required"/>
       <attribute name="taxonomyValue" type="String" use="optional"/>
       <attribute name="taxonomyCode" type="integer" use="optional"/>
      </extension>
     </complexContent>
   </complexType>
</element>

This is different from the specification in the schema where  
extension base is "wsdl:documented" and not "wsdl:interface". I guess  
the error lies here with "wsdl:interface".


4. minor bugs in the schema
String -> string (line 11)

5. Usage of service categories with WSDL 1.1
In WSDL 1.1 port types are extensions of  
"tExtensibleAttributesDocumented". Hence, it is not possible to add  
service categories to them. Maybe this should be mentioned in section  
5 WSDL 1.1 Support

Best regards,
Harald Meyer


-- 
Harald Meyer            Hasso-Plattner-Inst. für Softwaresystemtechnik
Fon: +49 3 31 55 09-160       Prof.-Dr.-Helmertstr. 2-3, 14482 Potsdam
Fax: +49 3 31 55 09-189                  http://bpt.hpi.uni-potsdam.de

Received on Tuesday, 2 May 2006 14:04:45 UTC