From 1aa32de0e2aba7e3b621974f79b44c0e9a226041 Mon Sep 17 00:00:00 2001 From: Matthew Ebersviller Date: Tue, 7 Feb 2017 14:40:06 -0700 Subject: [PATCH] Update parser.rb for WSDL without binding tags Update XPATH search in parser.rb for WSDL without binding tags --- lib/wasabi/parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wasabi/parser.rb b/lib/wasabi/parser.rb index bb94302..536a37e 100644 --- a/lib/wasabi/parser.rb +++ b/lib/wasabi/parser.rb @@ -133,7 +133,7 @@ def parse_operations_parameters end def parse_operations - operations = document.xpath('wsdl:definitions/wsdl:binding/wsdl:operation', 'wsdl' => WSDL) + operations = document.xpath('wsdl:definitions//wsdl:operation', 'wsdl' => WSDL) operations.each do |operation| name = operation.attribute('name').to_s snakecase_name = Wasabi::CoreExt::String.snakecase(name).to_sym