Commit Graph

128 Commits

Author SHA1 Message Date
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 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 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
Christian Kerl 2dd65d2aca fixed fixture path in unit test 2011-08-26 22:19:51 +02:00
Francis Besset c154463b33 Updated definition of ComplexType and use classmap option of SoapServer
Please to refer to the documentation for the changes:
http://besim.pl/SoapBundle/tutorial/complex_type.html
2011-08-24 23:36:49 +02:00
Francis Besset 51a36dfb87 Merge remote-tracking branch 'origin/request_headers' 2011-08-17 08:35:49 +02:00
Francis Besset 9f7ff62449 Check if a value is null in RpcLiteralRequestMessageBinder 2011-08-16 21:06:10 +02:00
Francis Besset 0368461b12 Fixed typo 2011-08-16 20:41:14 +02:00
Francis Besset bf2f88aa05 Added message exception if the "setter" is not specified to hydrate a complex type. 2011-08-16 21:18:44 +03:00
Francis Besset d38e0c03b7 Fixed typo in webservice services definition 2011-08-16 20:06:24 +03:00
Francis Besset 0e177bd067 Moved stylesheet option in WsdlDumper service and add the possibility to configure 2011-08-14 21:59:15 +02:00
Francis Besset cce23d8abe Merge remote-tracking branch 'origin/master' into request_headers
Conflicts:
	DependencyInjection/BeSimpleSoapExtension.php
	Resources/config/webservice.xml
	WebServiceContext.php
2011-08-14 21:16:11 +02:00
Francis Besset 7fd56b657c Fixed tests 2011-08-14 21:10:21 +02:00
Francis Besset 33165ce8d2 Refactored the declaration of services for ServiceBinder 2011-08-14 21:06:04 +02:00
Francis Besset edf2f9f011 [Doc] Added header tutorial 2011-08-14 18:32:35 +02:00
Francis Besset d3a8965500 [Doc] Updated array tutorial 2011-08-14 18:13:12 +02:00
Francis Besset c5902122bb Added headers in request
You can add @Soap\Header("foobar", phpType="string") in a method definition
2011-08-14 18:04:01 +02:00
Francis Besset a6f8ccbfd2 Cleaned code 2011-08-11 23:56:06 +02:00
Francis Besset b4f29373ba Added link to ckWebServicePlugin in README 2011-08-11 11:22:31 +03:00
Francis Besset 985ac61625 Updated README 2011-08-11 02:13:40 +03:00
Francis Besset 838e16b1c4 Fixed issue #4 2011-08-11 00:59:40 +02:00
Francis Besset b0efd027d5 Fixed issue #3 2011-08-11 00:42:14 +02:00
Francis Besset ea003a1224 [Doc] Fixed typo 2011-08-09 14:48:56 +03:00
Francis Besset 07ef0a62f4 Merge remote-tracking branch 'origin/new_definition' 2011-08-07 11:35:27 +02:00
Francis Besset b945632dcf [Doc] Updated installation 2011-08-07 11:34:00 +02:00
Francis Besset b843acbec7 Replaced zf2 by zend-soap and zend-mime of BeSimple Repository 2011-08-07 11:33:34 +02:00
Francis Besset de94580403 [Doc] Moved array in first tutorial 2011-08-04 10:57:41 +03:00
Francis Besset c4217ce816 Added RST documentation 2011-08-02 23:27:56 +02:00
Francis Besset 9c2dd31b68 Added unit tests 2011-07-28 00:39:55 +02:00
Francis Besset 966077aca0 Added recursion of types in RpcLiteralResponseMessageBinder 2011-07-28 00:39:19 +02:00