search for: store_shape

Displaying 2 results from an estimated 2 matches for "store_shape".

2006 Jan 09
0
Problem with publishing subclasses by AWS API specification
...on: class Shape < ActionWebService::Struct member :color, :string end class Square < Shape member :length, :int end class Circle < Shape member :radius, :int end class Rectangle < Square member :height, :int end class ShapeApi < ActionWebService::API::Base api_method :store_shape, :expects => [Shape] end WSDL: ... <xsd:complexType name="Shape"> <xsd:all> <xsd:element name="color_id" type="xsd:string"/> </xsd:all> </xsd:complexType> ... -- Posted via http://www.ruby-forum.com/.
2006 Jan 11
0
HELP!! - Problem with AWS and subclasses
...on: class Shape < ActionWebService::Struct member :color, :string end class Square < Shape member :length, :int end class Circle < Shape member :radius, :int end class Rectangle < Square member :height, :int end class ShapeApi < ActionWebService::API::Base api_method :store_shape, :expects => [Shape] end WSDL: ... <xsd:complexType name="Shape"> <xsd:all> <xsd:element name="color_id" type="xsd:string"/> </xsd:all> </xsd:complexType> ... -- Posted via http://www.ruby-forum.com/.