Remove extra tabs from SOAP payload (fixes #914)

This commit is contained in:
Audrius Butkevicius 2014-10-27 23:33:26 +00:00
parent 08e7ada242
commit 048883ad27

View File

@ -464,7 +464,7 @@ func replaceRawPath(u *url.URL, rp string) {
} }
func soapRequest(url, service, function, message string) ([]byte, error) { func soapRequest(url, service, function, message string) ([]byte, error) {
tpl := ` <?xml version="1.0" ?> tpl := `<?xml version="1.0" ?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>%s</s:Body> <s:Body>%s</s:Body>
</s:Envelope> </s:Envelope>