Skip to content
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

soap_actions returns empty for wsdl12 #34

Closed
freefrancisco opened this issue Feb 4, 2010 · 2 comments
Closed

soap_actions returns empty for wsdl12 #34

freefrancisco opened this issue Feb 4, 2010 · 2 comments

Comments

@freefrancisco
Copy link

I found the line, to fix it in, it's on
lib/savon/wsdl_stream.rb line 35
@section = nil unless @namespaces[namespace] == "http://schemas.xmlsoap.org/wsdl/soap/"
replace that line with
@section = nil unless @namespaces[namespace].start_with? "http://schemas.xmlsoap.org/wsdl/soap"

that will allow the namespace to be "http://schemas.xmlsoap.org/wsdl/soap12/"

@rubiii
Copy link
Contributor

rubiii commented Feb 4, 2010

start_with? is a rails extension. i replaced it with a regex: http://github.com/rubiii/savon/commit/48046ed22e8212ecb689c43ec6aa94570027a413

this fix will be included in the next release.

@rubiii
Copy link
Contributor

rubiii commented Feb 19, 2010

released version 0.7.5 including a fix for this problem.

calamitas pushed a commit to calamitas/savon that referenced this issue Jun 7, 2011
calamitas pushed a commit to calamitas/savon that referenced this issue Jun 7, 2011
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants