Skip to content

Commit 67e896c

Browse files
authored
Update gowsdl.go
fix case sensitive problem in binding type
1 parent 256caae commit 67e896c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gowsdl.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ func (g *GoWSDL) findType(message string) string {
487487
// TODO(c4milo): improve runtime complexity if performance turns out to be an issue.
488488
func (g *GoWSDL) findSOAPAction(operation, portType string) string {
489489
for _, binding := range g.wsdl.Binding {
490-
if stripns(binding.Type) != portType {
490+
if strings.ToUpper(stripns(binding.Type)) != strings.ToUpper(portType) {
491491
continue
492492
}
493493

0 commit comments

Comments
 (0)