Commit Graph

355 Commits

Author SHA1 Message Date
Francis Besset d29f0caa8d [SoapRequest] Returns null if headers is empty 2011-09-23 10:24:22 +02:00
Francis Besset ec3866d5d1 Merge remote-tracking branch 'origin/master' into client 2011-09-22 00:18:34 +02:00
Francis Besset edee6a4c72 [Doc] Updated header tutorial to specify global headers functionality 2011-09-22 00:16:11 +02:00
Francis Besset dbeb00eae2 Added the possibility to add headers for a controller
Example:
    <?php

    namespace Acme\DemoBundle\Controller;

    use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap;
    use Symfony\Component\DependencyInjection\ContainerAware;

    /**
     * @Soap\Header("api_client_id", phpType = "int")
     * @Soap\Header("api_key", phpType = "string")
     */
    class DefaultController extends ContainerAware
    {
        // ...
    }
2011-09-20 22:34:16 +02:00
Francis Besset 33d1e4031c Fixed issue #10 2011-09-14 22:08:46 +02:00
Francis Besset a0a92dd1b4 Added fixtures files 2011-09-13 21:34:39 +02:00
Francis Besset 48a7e1c991 Merge remote-tracking branch 'origin/master' into client 2011-09-13 21:19:20 +02:00
Francis Besset 3de0636bb8 Used TypeConverterCollection::getTypemap() to build the typemap for SoapServer 2011-09-13 21:08:33 +02:00
Francis Besset 9cec9c65c4 Moved SoapClient::getTypemap() function in TypeConverterCollection 2011-09-13 21:03:03 +02:00
Francis Besset c2a2413330 Added TypeConverterCollection::getTypemap() function 2011-09-13 20:58:46 +02:00
Francis Besset 95c08c6edf Used converters of BeSimpleSoapCommon for SoapClient 2011-09-13 20:50:16 +02:00
Francis Besset 864cf22895 Used converters of BeSimple\SoapCommon for SoapServer 2011-09-13 20:47:35 +02:00
Francis Besset ecc3ec3c93 Updated besimple.soap.client service 2011-09-10 19:39:14 +02:00
Francis Besset c1c5d31350 Added TypeConverterCollection in SoapClient 2011-09-10 19:33:27 +02:00
Francis Besset 9b0ec8816d Added DateTypeConverter 2011-09-10 19:17:31 +02:00
Francis Besset 5c3357b879 Added DateTimeTypeConverter 2011-09-10 19:16:27 +02:00
Francis Besset 69d1e59edf Added TypeConverterCollection 2011-09-10 19:14:38 +02:00
Francis Besset d0cc3e8bd2 Check that the directory cache exists 2011-09-10 18:51:04 +02:00
Francis Besset 154863cc84 Prevent infinite recursion in RpcLiteralRequestMessageBinder 2011-09-08 21:25:45 +02:00
Francis Besset 08c51aebcf Fixed typo 2011-09-08 21:24:40 +02:00
Francis Besset 4850f782d5 Updated RpcLiteralResponseMessageBinder to prevent infinite recursion 2011-09-08 20:44:06 +02:00
Francis Besset ade1584448 Fixed issue #8 2011-09-08 20:42:09 +02:00
Francis Besset 294058a59c Added namespace option in client definition 2011-09-04 23:43:20 +02:00
Francis Besset 5790a89571 Added SoapHeader in SoapRequest 2011-09-04 23:42:03 +02:00
Francis Besset 4e33819eca Added cache_type option for soap server definition 2011-09-04 12:59:19 +02:00
Francis Besset b1da32bc97 Renamed client cache_wsdl option to cache_type 2011-09-04 12:24:51 +02:00
Francis Besset caeb484e19 Renamed client cache_wsdl option to cache_type 2011-09-04 12:15:11 +02:00
Francis Besset 2ea1704a1e Added the possibility to choice an other type cache for a client 2011-09-04 02:42:53 +02:00
Francis Besset 1a4e9246db Added besimple.soap.cache service 2011-09-04 01:59:32 +02:00
Francis Besset 502ba41935 Updated namespace for soap client 2011-09-04 00:48:45 +02:00
Francis Besset 17fdd64489 Added soap client 2011-09-04 00:47:45 +02:00
Francis Besset 358373dcc8 Moved classes 2011-09-04 00:42:51 +02:00
Francis Besset aaca80a262 Used BeSimple\SoapCommon\Cache to define the cache strategy 2011-09-04 00:36:24 +02:00
Francis Besset 5dc84ef088 Initial commit 2011-09-04 00:29:19 +02:00
Francis Besset fd162d8ca6 Initial commit 2011-09-03 21:15:51 +02:00
Francis Besset e9864b1d02 Deleted unused namespace and added PHPDoc on ServiceBinder 2011-09-01 21:15:40 +02:00
Francis Besset faf8b58108 Fixed error if an array is empty in RpcLiteralRequestMessageBinder 2011-09-01 20:18:28 +02:00
Francis Besset 958efd3431 Replaced QName->getNamespace() by ServiceDefinition->getNamespace() for headers 2011-09-01 19:40:44 +02:00
Francis Besset 57b35c5e62 [Doc] Added types available 2011-08-29 22:20:24 +02:00
Francis Besset c18cede7ab Added xsd:date type and DateTypeConverter 2011-08-29 21:41:59 +02:00
Francis Besset b4da2f727e Added besimple.soap.response service
It is highly recommended not to instantiate BeSimple\SoapBundle\Soap\SoapResponse
but to use the service besimple.soap.response

Before:

    public function helloAction($name)
    {
        return new SoapResponse("Hello ".$name);
    }

After:

    public function helloAction($name)
    {
        return $this
            ->container
            ->get('besimple.soap.response')
            ->setReturnValue("Hello ".$name)
        ;
    }
2011-08-27 22:56:51 +02:00
Francis Besset d4662ffe20 Updated RpcLiteralRequestMessageBinderTest 2011-08-27 22:12:38 +02:00
Francis Besset 3141adcfad Fixed namespace 2011-08-27 18:09:48 +02:00
Francis Besset db4c599af6 Use DOMDocument to retrieve the value in DateTimeTypeConverter 2011-08-27 18:07:30 +02:00
Francis Besset ce5c46408a Fixed issue #5 2011-08-26 23:39:43 +02:00
Christian Kerl 6290ea268a created DIC configuration for TypeConverter implementations and ConverterRepository 2011-08-26 22:22:32 +02:00
Christian Kerl f62a8bdd67 added compiler pass to register TypeConverter implementations in ConverterRepository 2011-08-26 22:22:17 +02:00
Christian Kerl 5d8d7b4ad5 added default type mapping from DateTime to xsd:dateTime 2011-08-26 22:22:02 +02:00
Christian Kerl 8bc2d1aa20 added TypeConverter for PHP's DateTime to XML's dateTime 2011-08-26 22:21:51 +02:00
Christian Kerl a256288a23 removed unused method 2011-08-26 22:20:32 +02:00