Commit Graph

347 Commits

Author SHA1 Message Date
Petr Bechyně 0c47f5a8d4 RelativePathResolver did not work correctly for ../directories 2017-07-21 14:49:42 +02:00
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
Francis Besset 855e382590 [SoapBundle] Fixed service definition with factory 2015-06-01 16:04:29 +02:00
Francis Besset 2974a4f838 Stop support of Symfony <2.6 2015-06-01 16:04:24 +02:00
Francis Besset fb56d51bd8 fixup! [SoapBundle] Set _format route to xml 2015-03-27 16:07:42 +01:00
Francis Besset f2a8a7ebb3 Merge branch '0.2' 2014-08-18 14:20:19 +02:00
Francis Besset 7a9119cef1 [SoapBundle] Added configuration to configure client proxy 2014-08-18 13:54:19 +02:00
Francis Besset 1a7f60b679 [SoapClient] Added proxy authentication option in SoapClientBuilder
Fixed #47
2014-08-18 11:45:53 +02:00
Francis Besset 70db0c42fd [SoapClient] Renamed proxy_user to proxy_login option to keep compatibility with SoapClient of PHP 2014-08-18 10:58:40 +02:00
Francis Besset 960c9f557a [SoapClient] Fixed typo for proxy options
Fixed #46
2014-08-18 10:31:20 +02:00
Francis Besset 33d641de4e [SoapClient] Fixed tests if proxy exists in environment variables 2014-08-18 10:29:49 +02:00
Francis Besset bbd4c26134 Merge branch '0.2' 2014-08-16 15:48:45 +02:00
Francis Besset 29170576c2 [Doc] Added documentation for SoapClient 2014-08-15 21:18:24 +02:00
Francis Besset 50ab5a93ad [SoapBundle] Update the cache dir 2014-08-15 19:46:23 +02:00
Francis Besset 1290573285 [SoapBundle] Add a hack to load BeSimpleSoap cache with a client 2014-08-15 19:45:21 +02:00
Francis Besset f5675f6ece [SoapBundle] Set cache informations even though it is disabled 2014-08-15 19:43:31 +02:00
Francis Besset 15b208d861 Replaced cli_webserver_workaround client option by a check of CONTENT_TYPE AND HTTP_CONTENT_TYPE entry in SERVER superglobal 2014-08-14 21:40:13 +02:00
Francis Besset 294a9fe90e Stop support of Symfony <2.3 2014-08-14 15:02:52 +02:00
Francis Besset 313840d5a4 Revert "[SoapClient] [Tests] Down required version of symfony/filesystem vendor"
This reverts commit 726ee89936.

Conflicts:
	composer.json
	src/BeSimple/SoapClient/composer.json
2014-08-14 14:57:00 +02:00
Francis Besset 8e4d8b0300 Updated BeSimpleSoap vendor requierement to 0.3 2014-08-14 14:56:39 +02:00
Francis Besset 621b2080e0 Updated version to 0.3 2014-08-14 14:21:49 +02:00
Francis Besset fe67cff5ff Merge branch 'fixed_tests' 2014-08-14 13:39:12 +02:00
Francis Besset e676eb0432 [composer] Used a stable version of vfsStream 2014-08-14 13:33:32 +02:00
Francis Besset 726ee89936 [SoapClient] [Tests] Down required version of symfony/filesystem vendor 2014-08-14 13:06:18 +02:00
Francis Besset 36a368e695 [composer] Removed dev minimum-stability 2014-08-14 13:06:18 +02:00
Francis Besset e2de214ea5 [SoapClient] [Tests] Removed uploaded file 2014-08-14 13:06:18 +02:00
Francis Besset 3cfeea8371 [SoapClient] [Tests] Fixed typo 2014-08-14 13:06:18 +02:00
Francis Besset c24e8775bf [SoapClient] Add possiblity to disable proxy if present in environment variable 2014-08-14 13:05:50 +02:00
Francis Besset 10bba6a3bd [Test] Force replace unziped file for axis server 2014-08-13 22:08:17 +02:00
Francis Besset a122f2a0f6 [SoapBundle] Skipped test for SoapRequest 2014-08-13 22:02:46 +02:00
Francis Besset 8d13d2dd5c [Doc] Add missing methods 2014-08-13 06:57:03 +02:00
Francis Besset 1efa348ae5 Merge branch 'fix-doc' of https://github.com/ch3ric/BeSimpleSoap into ch3ric-fix-doc 2014-08-13 06:55:01 +02:00
Rémi Marseille 740f146bad Handled additional request options 2014-07-01 15:47:46 +02:00
Charles-Eric Gorron 5e8e669299 Fix Doc 2014-05-25 16:48:26 +02:00
Francis Besset e4cb612aed Created a client classmap even when it is empty 2014-04-30 10:54:07 +02:00
Boris Samardžija 7bb849e394 Update Curl class to support CURLOPT_CAINFO and CURLOPT_CAPATH options 2014-04-25 11:16:34 +02:00
Francis Besset 02722eae8f Merge pull request #32 from mremi/filter-request-headers
Added method to tweak HTTP headers of request
2014-04-24 17:22:00 +02:00
Rémi Marseille b7581f29b0 Removed reference to return an array of HTTP headers 2014-04-24 09:29:58 +02:00
Francis Besset dc6e1e0889 Merge pull request #31 from mremi/http-auth
Added extra option to configure HTTP authentication
2014-04-24 08:38:03 +02:00
Rémi Marseille 67410805ba Added method to tweak HTTP headers of request 2014-04-22 22:29:11 +02:00
Rémi Marseille 2ae7515294 Added extra option to configure HTTP authentication 2014-04-22 22:05:04 +02:00
Rémi Marseille cdfc3cd5bd Updated visibility from private to protected 2014-04-22 21:53:14 +02:00
Francis Besset 9ac755d86e [SoapBundle] Set _format route to xml 2013-12-13 15:25:20 +01:00
Francis Besset 321dcf3058 [SoapBundle] Set wsdl request type only if the "wsdl" parameter in present in URL 2013-12-13 11:24:25 +01:00
Francis Besset 3a2b8e32ee [SoapBundle] Enhanced SoapFault management 2013-12-13 08:26:18 +01:00
Francis Besset fd5154a469 Fixed typo 2013-12-10 15:25:09 +01:00
Francis Besset 188f282a87 [SoapWsdl] Specify an empty message if the input is empty 2013-12-10 15:25:09 +01:00
Francis Besset f9e230400d [SoapBundle] Fixed RpcLiteralRequestMessageBinderTest 2013-12-08 00:27:33 +01:00
Francis Besset 1b4e262c60 [SoapBundle] Simplified conditional statement 2013-12-08 00:25:20 +01:00
Francis Besset 60e3714602 [SoapBundle][SoapCommon] Removed unused TypeRepository in Definition\Method classes 2013-12-08 00:23:30 +01:00
Rekky 1e82d7fdd7 Fix WSDL schema stylesheet including 2013-12-07 19:55:33 +01:00