-
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
Can't set the soap_version on a request-by-request basis in 1.2 #320
Comments
looking into this... |
Thanks Tim. |
interesting bug. if you call |
i'm thinking of a simple way to fix this. sorry this slipped through the cracks! |
@jeffdeville - just to confirm, were you calling |
I believe I tried both: response = client.request :get_user do as well as: response = client.request :get_user, :body => HASH_OF_STUFF do Thanks for taking a loot Tim. Appreciate it! |
That said, even: client = Savon.client(WSDLPATH) did not work either. |
hm, ok. directly modifying soap by calling |
@rubiii - I think the best solution to this is for |
@timabdulla sounds good |
this should be fixed with savon 2.0. please give it a try and let me know in case you have any problems. |
The docs suggest you can override the soap_version, but w/ 1.2, that doesn't seem to work.
Before, I could:
c = Savon.client ...
c.config.soap_version = 2
In 1.2, it lets you set the soap version, but it doesn't impact the XML that is generated. I think they must be set in a constructor or something.
The text was updated successfully, but these errors were encountered: