Commit Graph

296 Commits

Author SHA1 Message Date
Petr Bechyně de5d6a2647 SoapClientOptions now contains resolve remove includes option for WSDL downloader 2017-07-21 10:21:50 +02:00
Petr Bechyně 6970b7bbef WsdlDownloader fix: remote includes now work correctly with relative URLs & tests added 2017-07-18 18:52:52 +02:00
Petr Bechyně b650254d54 SoapClient::trace = SoapClientOptions::SOAP_CLIENT_TRACE_OFF fixed when SoapFault is thrown
Incompatible changes: 1) Default SoapClientOptionsBuilder method now sets tracing to ON and 2) SoapResponse now contains request in all calls so that SoapRequestFactory interface had to be changed.
2017-06-16 13:42:08 +02:00
Petr Bechyně a8bc834077 Mime/PartHeaders now handle both Content-ID and Content-id according to W3 specs 2017-06-12 15:14:28 +02:00
Petr Bechyně f74e4b08ce Mime Parser: throws Exception with MimePartMessage contents 2017-06-12 00:28:27 +02:00
Petr Bechyně 2264e329a1 Added phing for running tests & fixed issues in order to pass the tests 2017-06-07 15:50:04 +02:00
Petr Bechyně b9e36b4900 Fix notice: attribute soapClientOptions defined in Trait and Client class 2017-06-05 10:50:53 +02:00
Petr Bechyně d495f22413 SoapFaultWithTracingData now provides request / response information from Server SoapFaults 2017-05-30 18:29:51 +02:00
Petr Bechyně 8db9b374e4 SoapFault handling refactored: client now returns server fault codes + more details in message 2017-05-26 10:53:41 +02:00
Petr Bechyně ecffdc18fd Minor bugfixes of SoapFault handling
SoapFault is now properly prefixed so that SoapFaultSourceGetter identifies them correctly, missing exceptions option is now processed in SoapServer
2017-05-10 09:15:27 +02:00
Petr Bechyně ab83642f06 Parser fix: single line MimeMessages are now parsed correctly 2017-04-06 15:51:29 +02:00
Petr Bechyně 564005da93 SoapServer/Client now handle binary files correctly & large tests/fixtures update
Soap Server and Client were breaking binary files during transfer due to invalid Mime Message Parser. Now is it working fine with no errors, but the message parser is about to be rewritten into a better form.
2017-04-04 18:36:18 +02:00
Petr Bechyně d3023b1a5a UnitTests are now located in tests directory & tiny improvements 2017-03-15 10:25:48 +01:00
Petr Bechyně 21d705bbfa SoapClient custom endpoint location & connection keep alive configuration added & tests updated 2017-03-03 11:11:44 +01:00
Petr Bechyně 0e2c33faf8 Support of older PHP versions removed: MimeFilter does not sanitize PHP 5.4.x error 2017-02-22 12:23:24 +01:00
Petr Bechyně f276a30a47 Curl/WsdlGenerator - better error handling 2017-02-18 00:13:02 +01:00
Petr Bechyně 4edc46e67f Parser fix - MimeMessages with CRLF caused iconv_mime_decode throwing Exceptions 2017-02-17 15:06:06 +01:00
Petr Bechyně a76526a5b6 DEFAULT_CONNECTION_TIMEOUT default value increased to 120 2017-02-17 11:20:09 +01:00
Petr Bechyně baf32c1350 Curl is now returning response body even on error
It is better to switch off CURLOPT_FAILONERROR and check response status manually by HTTP response code
2017-02-17 11:07:26 +01:00
Petr Bechyně 5c0bf914e3 Unused SoapClientNativeDataTransferObject removed 2017-02-17 03:36:16 +01:00
Petr Bechyně 01d10b89fd SoapClient now handles Attachments better
The inner storage is now the only possible way to handle attachments and hydrate responses by using ClassMap at the same time. To get the response objects from ClassMap, use SoapResponse->getResponseObject() method
2017-02-17 03:19:22 +01:00
Petr Bechyně e1b50ce914 SoapClient::__soapCall() must be compatible with \SoapClient::__soapCall() fix 2017-02-17 00:26:01 +01:00
Petr Bechyně 68b41acc46 SoapClient - WSDL download fixes 2017-02-17 00:14:05 +01:00
Petr Bechyně aee034791e SoapClient large refactoring & tests update 2017-02-14 16:01:39 +01:00
Petr Bechyně 00ddf149b0 Passing SOAP fault with detail 2016-11-29 18:55:55 +01:00
Petr Bechyně 476813e9bb MIME parts now contain only LF (was CRLF) 2016-11-29 18:55:55 +01:00
Petr Bechyně f57239ad0d MultiPart Boundary generator changed 2016-11-24 15:18:00 +01:00
Petr Bechyně 10caf27da3 MultiPart ContentId is now in different format 2016-11-24 15:00:46 +01:00
Petr Bechyně 51d1abab48 Connection: Keep-alive is now configurable - BUT NOW WORKING
PHP is unable to change Connection type, this configuration is quite missleading for SoapServer, but still working for SoapClient
2016-11-24 12:47:01 +01:00
Petr Bechyně 1224f5f40f Content-Location added for attachment parts 2016-11-24 12:45:17 +01:00
Petr Bechyně f4a4619fe6 Handling SoapRequests/SoapResponse with attachments fix 2016-11-24 11:04:57 +01:00
Petr Bechyně 052ab20d67 tiny bugfixes 2016-11-11 16:04:44 +01:00
Petr Bechyně dd7b6904b6 SoapOptions moved 2016-11-09 17:05:43 +01:00
Petr Bechyně c4d993585f SoapServer now handles get WSDL requests 2016-11-09 13:43:18 +01:00
Petr Bechyně bd1fbf9cfc SoapServer::handle() has to be compatible with \SoapServer 2016-11-09 12:08:32 +01:00
Petr Bechyně 5fbcfb3e22 AttachmentsHandlerInterface refactored 2016-11-08 18:31:28 +01:00
Petr Bechyně 84c37b1d24 Soap server with attachments refactoring 2016-11-08 15:42:52 +01:00
Petr Bechyně 8d033f9afc SoapResponse is a product of SoapResponseFactory, small refactorings 2016-11-02 16:08:21 +01:00
Petr Bechyně bf494a42b5 MimeFilters are now stateless 2016-11-02 09:55:12 +01:00
Petr Bechyně 969709cae5 Large refactoring of SoapKernel 2016-11-01 18:13:23 +01:00
Petr Bechyně 155aa029ce SoapRequest is now SoapRequestFactory product 2016-11-01 16:23:21 +01:00
Petr Bechyně 3c0f731086 SoapOptions cache dir introduced + SoapOptionsBuilder - new methods added 2016-11-01 09:24:41 +01:00
Petr Bechyně 374c64538a remove useless SoapClientBuilder 2016-10-31 14:12:35 +01:00
Petr Bechyně 0a157748a8 Large refactoring removing states, abstract magic, vague fluent interfaces 2016-10-27 16:24:44 +02:00
Cameron Murphy c4a9b58b08 Use request_stack service instead of deprecated request service 2016-01-11 16:28:20 +11:00
Cameron Murphy fc15bf36ab Call getPath() instead of string casting 2016-01-11 16:28:05 +11:00
Cameron Murphy 8462233a08 Update FlattenException use statements 2016-01-11 16:20:13 +11:00
Cameron Murphy 03227295f6 Use ContainerAwareTrait and ContainerAwareInterface 2016-01-11 16:09:42 +11:00
Cameron Murphy f285adfa14 Use path attribute rather than pattern 2016-01-11 16:06:22 +11:00
Francis Besset 27ebf0fbce Merge remote-tracking branch 'origin/0.2' 2015-06-01 16:04:32 +02:00