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

Ticket #414 (closed defect: fixed)

Opened 9 months ago

Last modified 9 months ago

a Driver generated by WSDLDriverFactory does not accept XML attributes in Hash parameter

Reported by: nahi Assigned to: nahi
Priority: high Milestone: 1.5.8
Component: soap4r Version: 1.5
Keywords: Cc:

Description

from soap4r-ml

rom the WSDL, :id and :password are both defined as a XML attribute so
you need to pass a Hash like;

  auth_header = {
    :user => {
      :xmlattr_id => LOGIN_ID,
      :xmlattr_password => LOGIN_PASSWORD
    }
  }

Oops!  I found that it hits another Hash handling bug around XML
attributes in RC2.

Of course, you can use wsdl2ruby.rb to generate stub files to avoid this
kind of problem.

Change History

09/07/07 21:43:48 changed by nahi

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

(In [1942]) * a Driver generated by a WSDLDriverFactory ignored 'xmlattr_*' value in a Hash parameter. closes #414.