Changeset 1964
- Timestamp:
- 09/15/07 22:56:40 (1 year ago)
- Files:
-
- trunk/lib/wsdl/soap/literalMappingRegistryCreator.rb (modified) (1 diff)
- trunk/test/wsdl/anonymous/expectedMappingRegistry.rb (modified) (1 diff)
- trunk/test/wsdl/any/expectedMappingRegistry.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/wsdl/soap/literalMappingRegistryCreator.rb
r1958 r1964 64 64 def dump_element 65 65 @elements.collect { |ele| 66 next if @complextypes[ele.name] 66 # has the definition different from the complexType of the same name 67 next if ele.type.nil? and @complextypes[ele.name] 67 68 qualified = (ele.elementform == 'qualified') 68 69 if ele.local_complextype trunk/test/wsdl/anonymous/expectedMappingRegistry.rb
r1958 r1964 149 149 ] 150 150 ) 151 152 LiteralRegistry.register( 153 :class => WSDL::Anonymous::LoginResponse, 154 :schema_name => XSD::QName.new(NsLp, "loginResponse"), 155 :schema_qualified => true, 156 :schema_element => [ 157 ["loginResult", ["WSDL::Anonymous::LoginResponse::LoginResult", XSD::QName.new(nil, "loginResult")]] 158 ] 159 ) 160 161 LiteralRegistry.register( 162 :class => WSDL::Anonymous::LoginResponse::LoginResult, 163 :schema_name => XSD::QName.new(nil, "loginResult"), 164 :schema_qualified => true, 165 :schema_element => [ 166 ["sessionID", "SOAP::SOAPString"] 167 ] 168 ) 151 169 end 152 170 trunk/test/wsdl/any/expectedMappingRegistry.rb
r1938 r1964 32 32 33 33 LiteralRegistry.register( 34 :class => WSDL::Any::FooBar, 35 :schema_name => XSD::QName.new(NsEchoType, "foo.bar"), 36 :schema_qualified => true, 37 :schema_element => [ 38 ["before", ["SOAP::SOAPString", XSD::QName.new(nil, "before")]], 39 ["any", [nil, XSD::QName.new(NsXMLSchema, "anyType")]], 40 ["after", ["SOAP::SOAPString", XSD::QName.new(nil, "after")]] 41 ] 42 ) 43 44 LiteralRegistry.register( 34 45 :class => WSDL::Any::SetOutputAndCompleteRequest, 35 46 :schema_name => XSD::QName.new(NsEchoType, "setOutputAndCompleteRequest"),