Commit Graph

667 Commits

Author SHA1 Message Date
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ě 668f2dd258 PhpUnit - code coverage whitelisted 2017-06-13 13:06:58 +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ě dcd5ff5234 Travis now run only PHP 7.x builds, phpstan requirements will fail on 5.6.x or previous 2017-06-07 17:10:10 +02:00
Petr Bechyně 7bd8481a4e Travis CI - test fixes
1. Travis has to run PHP build-in server separately, 2. SoapFault message expectations are now Couldn't/Could not
2017-06-07 17:05:03 +02:00
Petr Bechyně c82288d641 Travis deployment fixed 2017-06-07 16:23:47 +02:00
Petr Bechyně bb20882ade Readme updated 2017-06-07 16:18:46 +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ě f669c18c7f Merge pull request #3 from ceesco53/patch-1
composer.json refers to upstream not this fork (README.md fix)
2017-05-25 19:07:26 +02:00
John 524d1f3fd7 composer.json refers to upstream not this fork
Using the composer.json instructions as is will cause the rest of your instructions to fail.  It points to upstream package.  I've got some other changes coming soon.  Happy to help.
2017-05-25 12:13:58 -04: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ě b45202f40a Project composer description update 2017-04-26 13:00:40 +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ě 311f9e6d08 Readme update: better examples added 2017-03-15 11:23:21 +01:00
Petr Bechyně e67d5aa84b Readme updated 2017-03-15 10:48:23 +01: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ě cf6e147c26 Merge remote-tracking branch 'remotes/origin/develop' 2017-02-18 00:14:21 +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ě 30a9707c59 Merge remote-tracking branch 'remotes/origin/develop' 2017-02-14 16:48:58 +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