[AG-DEV] Stuck with ZSI dictionary treatment in SOAP calls

Michael Braitmaier braitmaier at hlrs.de
Tue Mar 21 09:20:03 CST 2006

I got quite far with the data store so far. Now I wanted to propagate 
the event that a new directory has been added which requires me to
send an object of type DirectoryDescription:

<xs:complexType name="DirectoryDescription">
        <xs:element name="id" type="xs:string"/>
        <xs:element name="name" type="xs:string"/>
        <xs:element name="description" nillable="true" type="xs:string"/>
        <xs:element name="uri" nillable="true" type="xs:string"/>
        <xs:element name="status" nillable="true" type="xs:string"/>
        <xs:element name="size" nillable="true" type="xs:int"/>
        <xs:element name="checksum" nillable="true" type="xs:string"/>
        <xs:element name="owner" nillable="true" type="xs:string"/>
        <xs:element name="type" nillable="true" type="xs:string"/>
        <xs:element name="lastModified" nillable="true" type="xs:string"/>
        <xs:element name="parentId" nillable="true" type="xs:string"/>
    <xs:element name="Level" nillable="true" type="xs:string"/>
        <xs:element name="location" nillable="true" type="xs:string"/>
        <xs:element name="dataContainer" nillable="true" minOccurs="0" 
maxOccurs="unbounded" type="xs:string"/>
    <xs:element name="objectType" nillable="true" type="xs:int"/>

This object contains a list called dataContainer, which is nothing more 
than a list of strings with IDs.
When I now call the statement for sending the event in the Venue:

#Send event to clients

I get a ZSI exception:
ZSI.FaultException: Processing Failure
Serializing EventDescription.data, EvaluateException Serializing 
dictionaries not implemented when processContents="strict".  Try as a 
list or use processContents="lax".

I am really confused about that, because I don't use a dictionary 
anymore, but a list.
Can anybody tell em or give me a hint what I am doing wrong. Are there 
cases where ZSI considers a list being treated like a dictionary?
How can I work around it?


Dipl.-Inf. Michael Braitmaier
HLRS - Visualization / Video Conferencing
University of Stuttgart
Phone: ++49 711 685 5996
Fax  : ++49 711 682 357
Website: http://www.hlrs.de/people/braitmaier/

More information about the ag-dev mailing list