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

Ticket #272 (closed defect: duplicate)

Opened 2 years ago

Last modified 2 years ago

choice definition breakage in encoded service

Reported by: nahi Assigned to: nahi
Priority: high Milestone: 1.5.6
Component: wsdl4r Version: 1.5
Keywords: Cc:

Description

from soap4r-ML

Ok, did that. Still get the following error:

/usr/local/lib/ruby/site_ruby/1.8/soap/mapping/literalregistry.rb:208:in
`add_elesoap2stubobj': undefined method `name' for #<Array:0x4027585c>
(NoMethodError)
        from /usr/local/lib/ruby/1.8/soap/baseData.rb:727:in `find'
        from
/usr/local/lib/ruby/site_ruby/1.8/soap/mapping/literalregistry.rb:208:in
`add_elesoap2stubobj'
        from /usr/local/lib/ruby/1.8/soap/baseData.rb:643:in `each'
        from
/usr/local/lib/ruby/site_ruby/1.8/soap/mapping/literalregistry.rb:207:in
`add_elesoap2stubobj'
        from
/usr/local/lib/ruby/site_ruby/1.8/soap/mapping/literalregistry.rb:184:in
`elesoap2stubobj'
        from
/usr/local/lib/ruby/site_ruby/1.8/soap/mapping/literalregistry.rb:171:in
`any2obj'
        from
/usr/local/lib/ruby/site_ruby/1.8/soap/mapping/literalregistry.rb:236:in
`elesoapchild2obj'
        from
/usr/local/lib/ruby/site_ruby/1.8/soap/mapping/literalregistry.rb:210:in
`add_elesoap2stubobj'
         ... 17 levels...
        from /usr/local/lib/ruby/1.8/soap/rpc/proxy.rb:155:in `call'
        from /usr/local/lib/ruby/1.8/soap/rpc/driver.rb:179:in `call'
        from (eval):6:in `getxxx'

I could track it down to figure out that the created
defaultMappingRegistry contains a :choice definition in one of the
schema_element definitions. This causes the code breakage in
add_elesoap2stubobj. I could fix this by editing the
defaultMappingRegistry by removing the :choice definition.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "soap4r" group.
To post to this group, send email to soap4r@googlegroups.com
To unsubscribe from this group, send email to soap4r-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/soap4r
-~----------~----~----~----~------~----~------~--~---

Change History

10/28/06 21:16:05 changed by nahi

  • milestone changed from undefined to 1.5.6.

05/05/07 00:24:42 changed by nahi

  • priority changed from normal to high.

05/14/07 21:55:34 changed by nahi

  • status changed from new to closed.
  • resolution set to duplicate.

-> #205