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

Savon should understand and support elementFormDefault="qualified" #91

Closed
rubiii opened this issue Oct 4, 2010 · 7 comments
Closed

Comments

@rubiii
Copy link
Contributor

rubiii commented Oct 4, 2010

summited by khoenshel (September 27, 2010):

I am connecting to a service where the WSDL sets elementFormDefault="qualified". From what I understand, this value can be set to 'qualified' or 'unqualified'. An over-simplified description: when set to 'qualified', all of the elements in the SOAP request need to be fully qualified, as in eimermusic's example above. This behavior is specified here: http://www.w3.org/TR/xmlschema-0/#QualLocals. An explicit setting for this style of output in the SOAP body would be nice, but if the WSDL file specifies that the elements should all be fully namespace qualified, then the elements in the SOAP body should be fully qualified. For now, I have to place the namespace in the hash keys...

@rubiii
Copy link
Contributor Author

rubiii commented Oct 16, 2010

added to the wishlist for future versions under "improve the WSDL parser".

@neilstockbridge
Copy link

+1. We're connecting to a .NET service that doesn't work unless the local elements include the namespace. Thanks!

@chriskempson
Copy link

Would love to see this implemented too. Also connecting to a .NET service!

@rubiii
Copy link
Contributor Author

rubiii commented Jan 26, 2011

added support for elementFormDefault="qualified"

closed by 5c8ec13. the attribute is read from wsdl documents and can also be set
manually via:

client.request :authenticate do
  soap.element_form_default = :qualified
end

@rubiii
Copy link
Contributor Author

rubiii commented Jan 26, 2011

should be fixed with v0.8.4. please take a look at the CHANGELOG and let me know if this works for you!

@chriskempson
Copy link

Great work! Have just tested this and confirmed it as working. Thanks very much :)

@khoenshel
Copy link

Finally got the chance to test. Great work.

calamitas pushed a commit to calamitas/savon that referenced this issue Jun 7, 2011
fixes savonrb#91. the attribute is read from wsdl documents and can also be set
manually via:

    client.request :authenticate do
      soap.element_form_default = :qualified
    end
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants