-
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 set multiple namespaces #376
Comments
unfortunately, there seems to be no option for setting namespaces in 2.x. i consider this to be a regression @jmarquesCC would you be able to "donate" your wsdl for me to test is with the new parser? |
@rubiii I send you an email. For now i migrate my application on Savon version 1 and it worked =) If there's someone interested this is the code:
|
thank you very much :) if you like, you could point your gemfile to github master and test the new global client = Savon.client do
namespaces "xmlns:first" => "http://someURL.pt/Test1"
end |
@rubiii I've tested but I don't think that's working I tested with this code:
The first namespace is ignored. |
like all options, this one is expected to be called only once and it accepts a hash: namespaces(
"xmlns:first" => "http://someURL.pt/Test1",
"xmlns:two" => "http://someURL.pt/Testweewqwqeewq"
) |
My bad, sorry. It's working =) Thanks. |
great :) thank you! |
Hi all,
I'm trying to invoke a webservice (with Savon version 2) and i need to inject some additional namespaces to my Envelope.
Something like:
My current code is:
...but in my request the Savon only puts the last namespace
I didn't find any documentation about this :S.
Does anyone have a solution/workaround for this problem??
PS - I notice that the version 1 have this feature (i didn't try yet):
Should i migrate to version 1?
The text was updated successfully, but these errors were encountered: