Commit Graph

  • fd5b3b5f73 Create LICENSE master Jan Halfar 2021-04-19 18:39:44 +02:00
  • 85629324db fix: check body for "soap-envelope", otherwise some valid messages are not handled. This is a quick fix and should be completely refactored! feature/temporary-fix-error-handling Florian Schlegel 2021-04-19 14:11:32 +02:00
  • dd9aa50d0a improved http header handling, exposed new method on server WriteHeader v0.1.0 Florian Schlegel 2016-12-01 17:19:24 +01:00
  • 520c809155 refactored handler map Jan Halfar 2016-09-23 12:41:27 +02:00
  • e9cad09606 renamed HandleOperation to RegisterHandler Florian Schlegel 2016-09-05 13:44:52 +02:00
  • b9a0fce641 added formatFaultXML() which stringyfies Soap Faults so that they can be used as error message for a normal go error. Florian Schlegel 2016-05-11 17:08:16 +02:00
  • 13d75a8b71 Server and Client can now switch between Soap 1.1 and Soap 1.2 mesages. By default Soap 1.1 is used. Soap 1.2 uses a different namespace and content-type. To avoid the necessity of duplicating all code using Envelope, Header, Body and Fault, all messages are handled as Soap 1.1 messages internally. Switching between Soap Versions is accomplished by replacing the namespaces after marshalling or before unmarshalling. Florian Schlegel 2016-05-11 11:17:46 +02:00
  • 74df31ccbb Fixed handling of multipart messages. If a message is multipart, we search for the soap part. If none is found, an error is returned. If it's not a multipart message we check if it's emtpy (which is ok) or a soap message. Otherwise an error is returned. Florian Schlegel 2016-05-02 12:23:18 +02:00
  • f409fe329e added little hack to get rid of garbage in response body before the actual soap message Florian Schlegel 2016-04-07 11:36:32 +02:00
  • 4fa85de53e don't panic Florian Schlegel 2016-03-18 12:11:02 +01:00
  • b500ce32d2 Fixed issue in Call(): Calls with nil as parameter for response (such as sendOrder() or sendTLog(), which expect an empty response and only look for the http header) paniced if the response was not empty (SOAP-Fault). Response parameters being nil are now replaced by a dummy struct and the SOAP-FAULT is returned via the error message. Florian Schlegel 2016-03-17 17:34:56 +01:00
  • 1cc2286d4c Merge branch 'master' of github.com:foomo/soap Florian Schlegel 2016-03-03 13:25:35 +01:00
  • 193b44851a more panic Florian Schlegel 2016-03-03 13:25:10 +01:00
  • 3186505aef dryed up sending content length in soap responses Jan Halfar 2016-02-16 08:36:49 +01:00
  • 4da07867db adjusted header Florian Schlegel 2016-02-15 10:36:40 +01:00
  • a5008687b7 fixed probe Florian Schlegel 2016-02-12 10:28:14 +01:00
  • b532d52f56 improved verbose mode Jan Halfar 2016-02-04 10:58:00 +01:00
  • 6f5b9d46a0 added custom marshalling, verbosity and cleaned up Jan Halfar 2016-02-02 18:20:31 +01:00
  • f2772cc8a7 drafting server api Jan Halfar 2016-01-21 09:52:31 +01:00
  • 7b2720a839 added a server draft Jan Halfar 2016-01-20 16:49:34 +01:00