Skip to content

Commit

Permalink
- Updated go mod
Browse files Browse the repository at this point in the history
- Updated soap.go
  • Loading branch information
Kamysek committed Jan 7, 2022
1 parent 8ffff96 commit 30a1a88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 1 addition & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,4 @@ module github.com/pickapp-logistics/gowsdl

go 1.15

require (
github.com/c4milo/github-release v1.1.0 // indirect
github.com/hooklift/assert v0.1.0 // indirect
github.com/mitchellh/gox v1.0.1 // indirect
github.com/stretchr/testify v1.6.1
)
require github.com/stretchr/testify v1.6.1
2 changes: 2 additions & 0 deletions soap/soap.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ type SOAPEnvelope struct {
XMLName xml.Name `xml:"soap:Envelope"`
XmlNS string `xml:"xmlns:soap,attr"`
XmlNS1 string `xml:"xmlns:ns1,attr"`
XmlXSI string `xml:"xmlns:xsi,attr"`

Header *SOAPHeader
Body SOAPBody
Expand Down Expand Up @@ -418,6 +419,7 @@ func (s *Client) call(ctx context.Context, soapAction, xmlns1 string, request, r
envelope := SOAPEnvelope{
XmlNS: XmlNsSoapEnv,
XmlNS1: xmlns1,
XmlXSI: "http://www.w3.org/2001/XMLSchema-instance",
}

if s.headers != nil && len(s.headers) > 0 {
Expand Down

0 comments on commit 30a1a88

Please sign in to comment.