Commit Graph

164 Commits

Author SHA1 Message Date
craigmarvelley
a8c2fbb13a Fixed bug causing annotations in inheriting controllers to be ignored 2012-01-05 16:37:12 +00:00
craigmarvelley
d2cdc9ccad Updated to work with latest version of Zend\Soap 2012-01-04 11:47:45 +00:00
Francis Besset
f0031e8923 Fixed issue #17 2011-12-01 11:37:58 +01:00
Francis Besset
5cb8249218 Fixed issue #20 2011-12-01 11:12:40 +01:00
Francis Besset
16ee889230 Check that complex type has not in classmap before adding 2011-11-26 19:59:09 +01:00
Francis Besset
bacdc90870 Moved Classmap instance in ServiceDefinition 2011-11-26 12:18:29 +01:00
Francis Besset
ea65831c12 Fixed typo on definition of cache directory 2011-11-22 23:05:55 +01:00
Francis Besset
b1b0fb87f1 Fixed issue #15 and #18 2011-11-22 23:00:59 +01:00
Francis Besset
64e1759f45 [Doc] Updated SoapServer configuration 2011-11-22 10:08:36 +01:00
Francis Besset
65fc380fa2 Fixed issue #16 2011-11-17 19:58:23 +01:00
Francis Besset
8f79b3392a Deleted condition to disable caching the WSDL in WebServiceContext 2011-11-14 20:23:40 +01:00
Francis Besset
ebb5343e11 [Doc] Updated cache documentation 2011-11-13 22:51:29 +01:00
Francis Besset
6c4ef348bd Merge remote-tracking branch 'origin/client' 2011-11-13 22:42:51 +01:00
Francis Besset
0ac7a78870 [Doc] Global update 2011-11-13 22:40:42 +01:00
Francis Besset
4abf5a59ed [Doc] Add the WSDL address 2011-11-13 21:55:26 +01:00
Francis Besset
32259355d6 Deleted SoapServerFactory and used BeSimple\SoapServer\SoapServerBuilder to build the SoapServer 2011-10-12 22:01:50 +02:00
Francis Besset
70a85460c9 Used BeSimple\SoapCommon\Classmap for the webservice context 2011-10-12 21:08:59 +02:00
Francis Besset
4a7ec164e5 Updated Cache class 2011-10-11 22:41:32 +02:00
Francis Besset
d3c31116c7 Replaced soap.client by soap.client.builder 2011-10-10 22:19:43 +02:00
Francis Besset
6d2e9d7634 Added user_agent option 2011-10-08 22:04:18 +02:00
Francis Besset
1d9bd2cdd3 Added besimple.soap.classmap service 2011-10-08 18:03:27 +02:00
Francis Besset
94a8a8fec1 Updated SoapClient definition 2011-10-08 12:41:47 +02:00
Francis Besset
0f86292fcb [Doc] Fixed typo 2011-09-24 13:44:10 +03: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
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
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
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
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
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