From e4e8cb9be76c659b88f14bed8709b784ebd12aaf Mon Sep 17 00:00:00 2001 From: Thomas Faller Date: Sun, 26 Jul 2020 16:14:32 +0200 Subject: [PATCH] Fix one-way operation that has no response --- wsdlgo/encoder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wsdlgo/encoder.go b/wsdlgo/encoder.go index 8ee752f..e10c24a 100644 --- a/wsdlgo/encoder.go +++ b/wsdlgo/encoder.go @@ -743,7 +743,7 @@ func (ge *goEncoder) writeSOAPFunc(w io.Writer, d *wsdl.Definitions, op *wsdl.Op if len(out) > 0 && op.Output != nil { operationOutputDataType = ge.sanitizedOperationsType(ge.messages[trimns(op.Output.Message)].Name) } else if rpcStyle { - operationInputDataType = "struct{}" + operationOutputDataType = "struct{}" } soapFunctionName := "RoundTripSoap12"