Commit Graph

12 Commits

Author SHA1 Message Date
afjoseph 730ab6506b [soap] Enhance SOAPFaultError error unwrapping 2022-01-13 22:16:08 +00:00
John Beisley 6145404ab1 Add method SOAPCliet.PerformActionCtx. 2021-07-11 14:15:35 +01:00
John Beisley a666909a2f Fix trivial go vet problems. 2021-07-04 10:59:33 +01:00
Denys Smirnov b5cf3be9f2 Correctly parse SOAP errors. 2021-05-22 22:24:31 +01:00
Denys Smirnov 73c6c11985 Parse error message for non-OK status codes. 2021-05-22 22:24:31 +01:00
John Beisley 991e174e2e Add workaround for SOAP server XML decoding limitations. 2017-11-07 18:19:10 -05:00
Felix Lange 5528f2eeef soap: quote action names in header
The unquoted form is not accepted by some implementations.
2015-02-13 11:35:15 +01:00
John Beisley 788bb66b80 Correct the encoding of SOAP action arguments.
Also adds a test for this, and the decoding of the response arguments.
2014-06-06 21:21:13 +01:00
John Beisley 5c55e50548 Encode the SOAP action element.
It should always have included this. It probably never worked properly
before, except for servers that didn't require arguments or the action
element.
2014-06-05 22:38:04 +01:00
John Beisley a8a8987980 Use nil interface{} instead of struct{} for empty requests/responses.
The XML encoder doesn't like receiving struct{}.
2014-01-06 19:47:57 +00:00
Huin d8237236d8 Check for error when encoding the request action. 2014-01-05 22:41:51 +00:00
John Beisley 914072fdd8 Separate lower-level API into separate packages. 2013-10-06 13:23:11 +01:00