-
Notifications
You must be signed in to change notification settings - Fork 15
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
namespace of attributes not preserved in headers #18
Comments
I think it is actually this bug sparklemotion/nokogiri#1200 Basically adding non-cloned element to another element may well result in bad namespace handling. I think that this needs to be fixed in the underlying libraries as making losoap too smart would be a double edged sword. But still it's worth putting this somewhere in lolsoap documentation to avoid user confusion. Using WSDL is a heavily namespaced business if I can say it like that. Adding headers is a common operation and a warning in the readme will be well worth it IMO. i.e. when adding element(s) that are part of another document, they better be added like In the akamai use case this is not needed as this a new element created. |
This example in the README https://github.com/loco2/lolsoap#wsse is for WSSE using If you need to build a customer header you can just do so in the same way you'd build a body (clarified this in the README in b5f22ea):
I'm closing this as it's not a lolsoap bug. |
Then I do:
In the response I end up with:
Basically the
actor
andmustUnderstand
attributes have been washed off their namespaces. Any idea how to fix this?The text was updated successfully, but these errors were encountered: