Commit Graph

18 Commits

Author SHA1 Message Date
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 864cf22895 Used converters of BeSimple\SoapCommon for SoapServer 2011-09-13 20:47:35 +02:00
Francis Besset 4e33819eca Added cache_type option for soap server definition 2011-09-04 12:59:19 +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 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 33165ce8d2 Refactored the declaration of services for ServiceBinder 2011-08-14 21:06:04 +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 4fa893042f New definition of complex type
The exposure of complex type properties was done only with public property.
Now you can expose properties and public methods.

Before:
  In a complex type:
    /**
     * @var string
     */
   public $var;

After:
  In a complex type:
    use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap;

    /**
     * @Soap\PropertyComplexType("string", name="var", nillable="true")
     */
    public $username;

    private $email;

    /**
     * @Soap\MethodComplexType("string", name="email", nillable="true", setter="setEmail")
     */
    public function getEmail()
    {
        return $this->email;
    }

    public function setEmail($email)
    {
        $this->email = $email;
    }

name, nillable are optionnal.
setter is optional and only available for MethodComplexType.
2011-07-23 21:24:59 +02:00
Francis Besset 055bb8a96c Replaced Bundle\WebServiceBundle by BeSimple\SoapBundle 2011-07-18 22:43:12 +02:00
Christian Kerl 76e7f42ccb added TypeRepository managing all mappings from php to xml types; removed classmap generation from SoapServerFactory, this will be done by TypeRepository::createComplexTypeMap(...);
Conflicts:

	Resources/config/webservice.xml
	Soap/SoapServerFactory.php
	Util/QName.php
	WebServiceContext.php
2011-07-17 19:37:23 +02:00
Francis Besset 887169de13 Added debug parameter at SoapServerFactory
If kernel.debug parameter is true, the cache is disabled.
2011-07-17 12:35:47 +02:00
Francis Besset 1c608ccf20 The bundle is back!
The definition of service has changed, read the README.
2011-07-17 10:58:12 +02:00
Francis Besset 51d1d28830 Cleaned files 2011-07-14 17:45:03 +02:00
Christian Kerl fa07646e3a wsdl definition can now be retrieved; aligned controller method and route naming; 2011-04-08 00:46:58 +02:00
Christian Kerl 70da526fd4 added WebServiceContext class; SoapWebServiceController now uses WebServiceContext to acquire all objects needed to handle a request for a certain service; 2011-04-07 21:54:53 +02:00