Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix namespaces not being properly added to arrays. #312

Merged
merged 1 commit into from
Aug 16, 2012
Merged

Fix namespaces not being properly added to arrays. #312

merged 1 commit into from
Aug 16, 2012

Commits on Aug 15, 2012

  1. Fix namespaces not being properly added to arrays.

    When the SOAP request body is passed as a hash, one may specify the
    value for a key to be an array of hashes. In this case, each hash
    in the array is treated as being contained within a element specified by
    the key. The namespace applied to the elements specified within the
    array was previously the default namespace. This fix recursively
    determines the proper namespaces for these elements.
    
    - Modifiy lib/savon/soap/xml.rb to recursively determine proper
      namespaces for elements contained within arrays
    - Modifiy spec/fixtures/wsdl/multiple_namespaces.xml to add a new
      operation that properly exhibits the problem
    - Modifiy spec/savon/client_spec.rb to add a new test that exhibits the
      problem
    - Modifiy spec/savon/client_spec.rb to change an old test that failed
      after the change. The failure was not a regression. In this case, the
      same namespace was applied but with a different namespace name.
    timabdulla committed Aug 15, 2012
    Configuration menu
    Copy the full SHA
    f3ac4cc View commit details
    Browse the repository at this point in the history