Commit Graph

367 Commits

Author SHA1 Message Date
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
Francis Besset 8788d7595d Cleaned unused method, property, variable or parameter 2013-12-02 16:02:29 +01:00
Francis Besset b45224587a Added use TypeConverterInterface 2013-12-02 15:39:59 +01:00
Francis Besset c8baf14c75 Fixed typo 2013-12-02 15:39:39 +01:00
Francis Besset 53849c68e0 Removed unused `use` statement 2013-12-02 15:35:36 +01:00
Francis Besset ecdf7e1872 Fixed an undefined variable
Fixed commit c830097430
Fixed issue #22
2013-11-20 08:45:12 +01:00
Francis Besset dcfca04db4 Merge remote-tracking branch 'origin/exception'
Conflicts:
	composer.json
	src/BeSimple/SoapBundle/composer.json
2013-11-15 10:37:55 +01:00
Francis Besset 73efa627ce Removed old Zend dependencies in composer.json 2013-11-13 16:43:47 +01:00
Francis Besset d6752a41e9 [SoapWsdl] Fixed bad usage name of type included in an other ComplexType
Fixed issue #21
2013-11-13 15:46:50 +01:00
Francis Besset 6a6661012e [SoapBundle] Enhanced exception management with Symfony2 2013-11-13 15:02:30 +01:00
Francis Besset 10705aa9e2 Merge branch '0.1'
Conflicts:
	src/BeSimple/SoapServer/SoapResponse.php
2013-11-06 16:50:31 +01:00
Francis Besset 7fa666e9de [SoapServer] Removed headers added by SoapServer::handle() method 2013-11-06 16:48:44 +01:00
Francis Besset bd2508f854 Merge branch '0.1' 2013-11-06 09:31:58 +01:00
Francis Besset e9429a5d03 Fixed ambiguous namespaces usage 2013-11-06 09:30:43 +01:00
Martin Hasoň 98842b24f8 Fixed typo 2013-11-01 13:40:16 +01:00
Francis Besset 48d305e7db Merge branch 'wsse' of https://github.com/aschamberger/BeSimpleSoap into aschamberger-wsse
Conflicts:
	.travis.yml
	src/BeSimple/SoapServer/SoapRequest.php
2013-10-30 17:00:44 +01:00
Francis Besset 4a97c2537e Merge branch 'patch-1' of https://github.com/rekky/BeSimpleSoap into rekky-patch-1 2013-10-30 16:51:54 +01:00
Francis Besset b8f37d213e Fixed version besimple/soap-* version in README's 2013-10-30 16:49:47 +01:00
Francis Besset 6e967fe811 Merge branch 'readmes' of https://github.com/aschamberger/BeSimpleSoap into aschamberger-readmes 2013-10-30 16:47:25 +01:00
Francis Besset 00c8726bb2 Updated composer.json 2013-10-30 16:35:17 +01:00
Andreas Schamberger 9ddac35f18 Fix doc comment 2013-10-30 12:31:00 +01:00
Rekky ed0846da6f Fix byte length counting if strlen overloading is used 2013-10-30 11:18:22 +04:00
Ronan Le Bris e7d86b3e99 Adding besimple/soap-wsdl to dependencies
Fix missing `BeSimple\SoapWsdl\Dumper\Dumper` class in `BeSimple\SoapBundle\WebServiceContext`
2013-10-28 11:09:23 +01:00
Francis Besset 54894b2fd9 Fixed ComplexType without alias name
Fix issue #17
2013-10-17 13:51:31 +02:00
Francis Besset 95efa3e366 Fixed CS 2013-10-17 13:48:02 +02:00
Francis Besset c830097430 Rewrited Definition of WebService and WSDL dumper 2013-10-15 11:46:12 +02:00
Francis Besset 391a3f10b8 Merge branch '0.1' 2013-10-15 11:15:10 +02:00
Francis Besset ad82f752f7 [SoapBundle] Added new request format (soap, wsdl) and used them in routing 2013-09-30 16:45:30 +02:00
Francis Besset ebd565cd79 Fixed besimple/soap-* version 2013-09-27 21:35:39 +02:00
Francis Besset 81ce2d7571 Merge branch '0.1' 2013-09-27 21:33:11 +02:00
Francis Besset 4391b94dbb Fixed besimple/soap-* version 2013-09-27 21:30:33 +02:00
Lukas Kahwe Smith 1bbf41fd78 allow Symfony2.4+ versions and do not use self.version inside require 2013-09-27 21:22:30 +02:00
Andreas Schamberger 461675042a fix soap header handling 2013-08-30 22:07:44 +02:00
Francis Besset adb1d9bd89 [SoapBundle] Keep debug in WebServiceContext
Issue #6
The generated cache is incorrect (maybe because service are cached).
To fix the problem quickly, the debug mode is enabled.
2013-08-26 14:40:00 +02:00
Andreas Schamberger f5a8573a4e Add readme files 2013-08-24 17:38:18 +02:00
Andreas Schamberger 8e305da9c0 change url for check if axis is ready 2013-08-24 10:53:24 +02:00
Andreas Schamberger d8d6ca5795 fix problem with cache path 2013-08-24 09:39:56 +02:00
Andreas Schamberger 155956ca04 change file permissions 2013-08-24 08:44:10 +02:00
Andreas Schamberger 3f41d4b7bc change file permissions 2013-08-24 08:41:59 +02:00
Andreas Schamberger 4fa7fd759a add phpwebserver to travis 2013-08-24 08:24:31 +02:00
Andreas Schamberger 2b12264304 Axis and SoapServer interop tests 2013-08-23 23:25:16 +02:00
Andreas Schamberger f8a80c0361 fix wrong method call 2013-08-23 21:45:09 +02:00
Andreas Schamberger 19def707d3 use WsSecurityFilterClientServer from common 2013-08-23 20:59:35 +02:00
Andreas Schamberger b21d758e77 remove now obsolete code 2013-08-23 20:57:37 +02:00
Andreas Schamberger 9bc9410172 add BinarySecurityToken resolving to key resolver 2013-08-23 20:57:07 +02:00
Andreas Schamberger 1cde22d8bb fix securitykey factory method call 2013-08-23 20:56:37 +02:00
Andreas Schamberger 8d62141a3d add workaround for cli webserver option 2013-08-23 20:55:26 +02:00
Andreas Schamberger 96f8415b92 added encryption to WS Security 2013-08-23 20:48:13 +02:00
Andreas Schamberger 5229091033 further steps with WS-Security (signing) 2013-08-23 20:47:55 +02:00
Andreas Schamberger 580e6f4da7 added WsSecurityFilter that supports UsernamePassword for now 2013-08-23 20:47:41 +02:00
Andreas Schamberger 6a5109c526 fix SoapFault handling to throw proper soap fault to client 2013-08-23 20:47:20 +02:00
Andreas Schamberger 5e6fd5de25 extract common code used in client/server 2013-08-23 20:43:48 +02:00
Andreas Schamberger ee321fca42 fix missing 'cid:' in SwaTypeConverter 2013-08-23 20:43:22 +02:00
Andreas Schamberger b5af83f9d2 add workaround for cli webserver, option implemented in client 2013-08-23 20:30:50 +02:00
Francis Besset f792f53aa2 Added composer.json 2013-08-16 17:18:40 +02:00
Francis Besset 4d9b112bb5 Updated version to 0.2 2013-08-16 17:18:31 +02:00
Francis Besset 42d38653af [SoapBundle] Fixed SoapWebServiceController to keep compatibility with Symfony 2.0 2013-08-06 17:04:24 +02:00
Francis Besset 990cca2783 [SoapBundle] Fixed compatibility with Symfony 2.0 2013-08-06 15:20:17 +02:00
Francis Besset 9b0b9a8944 [SoapBundle] Fixed tests 2013-08-06 11:43:40 +02:00
Francis Besset 71d84eddb7 [SoapBundle] Fixed usage of bad key in ComplexType strategy
Fix issue #5
2013-08-06 11:02:21 +02:00
Francis Besset 762ca4d7eb [SoapBundle] [Doc] Updated documentation to Alias documentation 2013-08-05 09:52:54 +02:00
Francis Besset 5aefca6be7 [SoapBundle] Cleaned configuration 2013-08-05 09:40:39 +02:00
Francis Besset e765ea746e [SoapBundle] Moved configuration of ComplexType aliases from config to PHP objects with annotations
Before:
``` yaml
be_simple_soap:
    services_classmap:
        Cutomer: My\Bundle\Entity\Customer
        Cart:    My\Bundle\Entity\Cart

After:
``` php
<?php

namespace My\Bundle\Entity;

use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap;

/**
 * @Soap\Alias("Customer")
 */
class Customer
{
    // ... your PHP code
}

/**
 * @Soap\Alias("Cart")
 */
class Cart
{
    // ... your PHP code
}
2013-08-05 09:40:39 +02:00
Francis Besset 6de878de7d [SoapBundle] Fixed ComplexType strategy to find Type by Classname 2013-08-05 09:40:38 +02:00
Francis Besset 16dddc0da6 [SoapServer] Added Classmap class to find Type by Classname 2013-08-05 09:40:38 +02:00
Francis Besset 04a94bbbe4 [SoapBundle] Updated ComplexType strategy 2013-08-05 09:40:38 +02:00
Francis Besset be1e80799c [SoapBundle] Added services_classmap node configuration 2013-08-05 09:40:38 +02:00
Francis Besset 0c5d2c54ab Fixed tests 2013-07-25 09:53:04 +02:00
Francis Besset fe4e821ff5 Fixed syntax for PHP 5.3 2013-07-24 23:44:50 +02:00
Francis Besset 9487e3a9e7 Fixed tests which require a webserver 2013-07-24 23:40:21 +02:00
Francis Besset 491d5f1ab1 [SoapBundle] Removed the first char if the ComplexType start with `\`
Fixed issue https://github.com/BeSimple/BeSimpleSoapBundle/issues/59
2013-07-23 18:06:44 +02:00
Francis Besset a736a52bab [SoapBundle] [Doc] Removed installation from deps and update installation with composer 2013-07-23 09:39:18 +02:00
Francis Besset 10d37dcea7 [SoapBundle] [Doc] Added PHP cURL extension in requirements 2013-07-23 09:38:26 +02:00
Francis Besset eaeec1830d Removed travis build status in README 2013-07-23 09:12:34 +02:00
Francis Besset e4a9b70fb3 [SoapBundle] Fixed Configuration.php 2013-07-22 11:52:32 +02:00
Francis Besset 2e99bb7e17 [SoapServer] Fixed typo on SoapFault exception classes 2013-07-20 20:38:56 +02:00
Francis Besset 333c54d642 [SoapBundle] Fixed service definition of `besimple.soap.client.builder`
Fixed issue #1
2013-07-20 19:07:19 +02:00
Francis Besset 0a47f5c15f [SoapCommon] Added assert instance of Part in ParserTest.php 2013-07-19 19:18:34 +02:00
Francis Besset a2bd42c71f [SoapBundle] Used `BeSimple\SoapServer\Exception\ReceiverSoapFault` instead of `SoapFault` 2013-07-19 19:15:27 +02:00
Francis Besset f9a351f9bf [SoapServer] Added Sender and Receiver SoapFault exception 2013-07-19 19:12:37 +02:00
Francis Besset 934a639ff1 Created branch-alias 0.1-dev 2013-07-19 19:11:59 +02:00