-
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
Adding attributes to the first element of the Body #61
Comments
When you define the body you can actually put any xml in the body, just use Builder and define any markup you want. |
That's right, but there is still an enclosing tag I can't remove. |
So you want to add attributes on the Body? |
No ;-) In the previous example, it would be on |
I'm pretty confused, can you paste the final xml you want? :S |
Pardon me if I'm not clear.
|
In a block doing the call, you can do something like this:
|
great, I'll try that, thanks. |
Yes it is working as I expected . Thanks. |
Could I produce something like this -
|
fixed in dev branch. will be released asap. |
please try savon 0.8.0.beta.1 |
released v0.8.0 which should solve this problem. |
Hi,
I'm trying to make something like this
env:Body/env:Body
With a soap.body = {:attributes! => ...} I can add some attributes on elements inside the first element of the Body, but on the first element itself.
Am I missing something or it is impossible ?
After reading the source, I guess it's impossible because in
Savon::SOAP#xml_body
I can see that there is an enclosing tag with the wsdl namespace.Thanks for any help
The text was updated successfully, but these errors were encountered: