-
Notifications
You must be signed in to change notification settings - Fork 615
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
wrong namespace used when WSDL using camelcase insted of lower camelcase for definition #448
Comments
I have a similar problem - the namespace is not defined correctly in the request. |
i don't have much time, but maybe this helps: if you use snakecase symbols as hash keys, they're converted |
Thanks for the info about strings not getting converted. I did not know On Wed, May 15, 2013 at 5:40 AM, Daniel Harrington <[email protected]
|
I solved my problem by defining the keys as strings: "paymentRequest" => {
"PaymentRequest" => {
... everything is OK. |
glad this worked for you. properly solving this problem requires a lot of changes, so version 2 will continue to use this convention for backwards compatibility. version 3 will feature a proper type system which solves this problem. |
usign following wsdl (https://secure.echosign.com/services/EchoSignDocumentService15?wsdl) I created
:send_document
SOAP request. in WSDL FileInfo and RecipientInfo definitions are CamelCase and not lower CamelCase. because of that when having a key in message hash:fileInfo
or:FileInfo
or:file_info
results in a wrong namespace generated in SOAP request. I modified WSDL and changed those definition to lower CamelCase and Savon generated correct namespace in SOAP request.Here is request generated using original WSDL that had wrong namespaces in SOAP request: https://gist.github.com/igagnidz/14764a71ca0b41354453
Here is request generated with WSDL that has lower CamelCase definition resulting in correct namespaces in SOAP request: https://gist.github.com/igagnidz/01cea3a81e405380a6e2
It looks like Savon uses correct namespace if WSDL uses only lower CamelCase convention.
The text was updated successfully, but these errors were encountered: