W3C home > Mailing lists > Public > public-ws-desc-state@w3.org > October 2003

Sample getter/setter

From: Roberto Chinnici <Roberto.Chinnici@Sun.COM>
Date: Mon, 06 Oct 2003 10:24:24 -0700
To: public-ws-desc-state@w3.org
Message-id: <3F81A548.30407@sun.com>

<xs:element name="XXX">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="a" type="xsd:int"/>
       <xs:element name="b" type="xsd:float"/>
     </xs:sequence>
   </xs:complexType>
</xs:element>

<xs:element name="getXXX">
</xs:element>

<xs:element name="getXXXResponse">
   <xs:complexType>
     <xs:sequence>
       <xs:element ref="ns:XXX"/>
     </xs:sequence>
   </xs:complexType>
</xs:element>

<xs:element name="setXXX">
   <xs:complexType>
     <xs:sequence>
       <xs:element ref="ns:XXX"/>
     </xs:sequence>
   </xs:complexType>
</xs:element>

<xs:element name="setXXXResponse">
</xs:element>


<ws:operation name="getXXX" style="http://w3.org/attribute/get">
   <ws:input name="in" body="ns:getXXX"/>
   <ws:output name="out" body="ns:getXXXResponse"/>
</ws:operation>

<ws:operation name="setXXX" style="http://w3.org/attribute/set">
   <ws:input name="in" body="ns:setXXX"/>
   <ws:output name="out" body="ns:setXXXResponse"/>
   <ws:outfault name="out" details="wsattr:SetFailedFault"/>
</ws:operation>
Received on Monday, 6 October 2003 13:22:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:55 UTC