Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Changeset 1659

Show
Ignore:
Timestamp:
11/03/05 09:55:03 (3 years ago)
Author:
nahi
Message:

classdef file updated.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/test/wsdl/axisArray/itemList.rb

    r1520 r1659  
    1 # Generated by wsdl2ruby.rb with axisArray.wsdl. 
     1require 'xsd/qname' 
    22 
    3 # urn:jp.gr.jin.rrr.example.itemListType 
     3# {urn:jp.gr.jin.rrr.example.itemListType}Item 
    44class Item 
    55  @@schema_type = "Item" 
    66  @@schema_ns = "urn:jp.gr.jin.rrr.example.itemListType" 
     7  @@schema_element = [ 
     8    ["name", ["SOAP::SOAPString", XSD::QName.new(nil, "name")]]] 
    79 
    8   def name 
    9     @name 
    10   end 
    11  
    12   def name=(value) 
    13     @name = value 
    14   end 
     10  attr_accessor :name 
    1511 
    1612  def initialize(name = nil) 
     
    1915end 
    2016 
    21 # urn:jp.gr.jin.rrr.example.itemListType 
    22 class ItemList < Array 
    23   # Contents type should be dumped here... 
    24   @@schema_type = "ItemList" 
     17# {urn:jp.gr.jin.rrr.example.itemListType}ItemList 
     18class ItemList < ::Array 
     19  @@schema_type = "Item" 
    2520  @@schema_ns = "urn:jp.gr.jin.rrr.example.itemListType" 
     21  @@schema_element = [["Item", ["Item[]", XSD::QName.new(nil, "Item")]]] 
    2622end 
    27  
  • trunk/test/wsdl/axisArray/test_axisarray.rb

    r1520 r1659  
    4040  def test_by_stub 
    4141    header, body = ::SOAP::Processor.unmarshal(@xml) 
    42     ary = ::SOAP::Mapping.soap2obj(body.response) 
     42    ary = ::SOAP::Mapping.soap2obj(body.response).item 
    4343    assert_equal(3, ary.size) 
    4444    assert_equal("name1", ary[0].name)