Bugs: Browse | Submit New | Admin

[#3886] soap error when processing wsdl file

Date:
2006-03-22 01:26
Priority:
3
Submitted By:
Todd Fisher (taf2)
Assigned To:
Akinori MUSHA (knu)
Category:
Network / Comm / Protocols
State:
Open
Platform:
 
Summary:
soap error when processing wsdl file

Detailed description
This code was executed from within a ruby on rails server inside a controller

This is the code used :

  require 'defaultDriver.rb'

  obj = InboxServicePortType.new()
  obj.wiredump_file_base = "soap-log.txt"
  req = GetMessagesResponse.new()
  req = {  :sortOrder =>'DATE_DESCENDING', :count => '1', :inboxId =>
'3'}
  res = obj.getMessages(req)  

and this is the error produced:


NoMethodError in Mailbox#mail 
You have a nil object when you didn't expect it!
The error occured while evaluating nil.name
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace 
c:/programs/ruby/lib/ruby/1.8/soap/mapping/wsdlliteralregistry.rb:321:in
`add_elements2stubobj'
c:/programs/ruby/lib/ruby/1.8/soap/baseData.rb:605:in `each'
c:/programs/ruby/lib/ruby/1.8/soap/mapping/wsdlliteralregistry.rb:292:in
`add_elements2stubobj'
c:/programs/ruby/lib/ruby/1.8/soap/mapping/wsdlliteralregistry.rb:277:in
`soapele2stubobj'
c:/programs/ruby/lib/ruby/1.8/soap/mapping/wsdlliteralregistry.rb:264:in
`any2obj'
c:/programs/ruby/lib/ruby/1.8/soap/mapping/wsdlliteralregistry.rb:59:in
`soap2obj'
c:/programs/ruby/lib/ruby/1.8/soap/mapping/mapping.rb:146:in `_soap2obj'
c:/programs/ruby/lib/ruby/1.8/soap/mapping/mapping.rb:59:in `soap2obj'
c:/programs/ruby/lib/ruby/1.8/soap/mapping/mapping.rb:360:in
`protect_threadvars'
c:/programs/ruby/lib/ruby/1.8/soap/mapping/mapping.rb:55:in `soap2obj'
c:/programs/ruby/lib/ruby/1.8/soap/rpc/proxy.rb:479:in
`response_doc_lit'
c:/programs/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_con
troller/routing.rb:234:in `collect'
c:/programs/ruby/lib/ruby/1.8/soap/baseData.rb:475:in `each'
c:/programs/ruby/lib/ruby/1.8/soap/rpc/proxy.rb:478:in
`response_doc_lit'
c:/programs/ruby/lib/ruby/1.8/soap/rpc/proxy.rb:444:in `response_doc'
c:/programs/ruby/lib/ruby/1.8/soap/rpc/proxy.rb:348:in `response_obj'
c:/programs/ruby/lib/ruby/1.8/soap/rpc/proxy.rb:149:in `call'
c:/programs/ruby/lib/ruby/1.8/soap/rpc/driver.rb:178:in `call'
c:/programs/ruby/lib/ruby/1.8/soap/rpc/driver.rb:232:in `getMessages'
#{RAILS_ROOT}/app/controllers/mailbox_controller.rb:26:in `mail'

Add A Comment: Notepad

Please login


Followup

Message
Date: 2006-03-22 01:30
Sender: Todd Fisher

To get a copy of the wsdl file please contact me.
Date: 2006-03-22 01:30
Sender: Todd Fisher

To get a copy of the wsdl file please contact me.

Attached Files:

Name Description Download
wsdlliteralregistry.rb.patch Patch to fix bug Download
default.rb default.rb generated by wsdl4ruby Download
defaultDriver.rb defaultDriver.rb generated by wsdl2ruby.rb Download
defaultDriver.rb defaultDriver.rb generated by wsdl2ruby.rb Download

Changes:

Field Old Value Date By
assigned_tonone2007-06-12 02:25zenspider
category_idMisc / Other Standard Library2007-05-29 17:28zenspider
File Added518: defaultDriver.rb2006-03-22 01:29taf2
File Added517: defaultDriver.rb2006-03-22 01:29taf2
File Added516: default.rb2006-03-22 01:27taf2
File Added515: wsdlliteralregistry.rb.patch2006-03-22 01:26taf2