Skip to content

Commit

Permalink
fix for issue savonrb#34 (soap_actions returns empty for wsdl12)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubiii committed Feb 4, 2010
1 parent f818bd7 commit 48046ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/savon/wsdl_stream.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def tag_start(tag, attrs)

if @section == :binding && tag == "binding"
# ensure that we are in an wsdl/soap namespace
@section = nil unless @namespaces[namespace] == "http://schemas.xmlsoap.org/wsdl/soap/"
@section = nil unless @namespaces[namespace] =~ /^http:\/\/schemas.xmlsoap.org\/wsdl\/soap/
end

@section = tag.to_sym if Sections.include?(tag) && depth <= 2
Expand Down

0 comments on commit 48046ed

Please sign in to comment.