From 67e896cf354a3e033d69f3bd8b324c7f62bdc59f Mon Sep 17 00:00:00 2001 From: rahmanme Date: Fri, 9 Mar 2018 18:02:17 +0330 Subject: [PATCH] Update gowsdl.go fix case sensitive problem in binding type --- gowsdl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gowsdl.go b/gowsdl.go index 534b649..51c8186 100644 --- a/gowsdl.go +++ b/gowsdl.go @@ -487,7 +487,7 @@ func (g *GoWSDL) findType(message string) string { // TODO(c4milo): improve runtime complexity if performance turns out to be an issue. func (g *GoWSDL) findSOAPAction(operation, portType string) string { for _, binding := range g.wsdl.Binding { - if stripns(binding.Type) != portType { + if strings.ToUpper(stripns(binding.Type)) != strings.ToUpper(portType) { continue }