-
Notifications
You must be signed in to change notification settings - Fork 616
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 doesn't guess upper_camelcased action names with WSDL disabled #96
Comments
looks like you're right. sorry. i'm pretty sure this does not happen in the 0.8 version (which should be released soon). but i'll take another look and make sure this is fixed. |
this is what's causing your problem in the current version: |
only symbols should be converted to lowerCamelCase. it's fixed in the eight branch: |
Awesome! |
please try savon 0.8.0.beta.1 |
released v0.8.0 which should solve this problem. |
Working with a service that uses upper_camelcase actions, and working with WSDL disabled for performance reasons. I imagine there's a call of #to_soap_key happening somewhere that's not supposed to be. Assuming this is a bug, because this behavior is contradictory to what's listed in the documentation for disabling the WSDL.
Following to reproduce, when working with a service that uses upper_camelcase names:
c = Savon::Client("#{url without wsdl}")
c.action_name!
produces
SOAP request:
SOAPAction: actionName, Content-Type: text/xml;charset=UTF-8
while
c.ActionName!
still produces
SOAPAction: actionName, Content-Type: text/xml;charset=UTF-8
The text was updated successfully, but these errors were encountered: