Skip to content

Commit

Permalink
Removes unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
c4milo committed Jan 17, 2014
1 parent fe09530 commit 0553ad2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generator/operations_tmpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var opsTmpl = `
*/
func (service *{{$portType}}) {{makePublic .Name}} (request *{{$requestType}}) (*{{$output}}, error) {
response := &{{$output}}{}
err := service.client.Call("{{.Name}}", "{{$soapAction}}", request, response)
err := service.client.Call("{{$soapAction}}", request, response)
if err != nil {
return nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion generator/soap.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func NewSoapClient(url string, tls bool) *SoapClient {
}
}

func (s *SoapClient) Call(operation, soapAction string, request, response interface{}) error {
func (s *SoapClient) Call(soapAction string, request, response interface{}) error {
envelope := SoapEnvelope{
Header: SoapHeader{},
EncodingStyle: "http://schemas.xmlsoap.org/soap/encoding/",
Expand Down

0 comments on commit 0553ad2

Please sign in to comment.