Commit Graph

404 Commits

Author SHA1 Message Date
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
Francis Besset 4e6592a38e Fixed typo 2011-07-27 23:38:21 +02:00
Francis Besset ff2cf6e730 Fixed typo in webservice definition 2011-07-27 23:20:01 +02:00
Francis Besset a0a3216469 Used the object hash in RpcLiteralResponseMessageBinder to return a same instance of an object 2011-07-27 23:15:47 +02:00
Francis Besset 8cd07acc11 Used the object hash in RpcLiteralRequestMessageBinder to return a same instance of an object 2011-07-27 23:13:56 +02:00
Francis Besset 2994129b8d Added RpcLiteralResponseMessageBinderTest 2011-07-27 00:48:45 +02:00
Francis Besset 483e8d1bb2 Added tests on RpcLiteralRequestMessageBinder 2011-07-27 00:13:24 +02:00
Francis Besset 444107b89a Added unit tests on RpcLiteralRequestMessageBinder 2011-07-24 21:30:45 +02:00
Francis Besset 7d4e88c941 Fixed typo in Util\Collection 2011-07-24 14:41:59 +02:00
Francis Besset f6775ef88f Fixed typo in Util\Collection 2011-07-24 14:40:52 +02:00
Francis Besset fd7fcf215b Added authors 2011-07-24 11:31:15 +02:00
Francis Besset ba0855a237 Fixed typo 2011-07-24 10:56:07 +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 9bd9677325 Simplified the creation of WebServiceContext 2011-07-21 22:55:59 +02:00
Francis Besset c33005fed2 Fixed ServiceDefinition argument and type 2011-07-21 21:03:39 +02:00
Francis Besset 695b7fb663 Simplified exposure functions in README 2011-07-21 20:53:49 +02:00
Francis Besset 3c5ef798c1 Fixed typo in README 2011-07-18 23:31:03 +02:00
Francis Besset c13a96131b Replaced webservice.* service name by besimple.soap.* 2011-07-18 22:59:20 +02:00
Francis Besset 055bb8a96c Replaced Bundle\WebServiceBundle by BeSimple\SoapBundle 2011-07-18 22:43:12 +02:00
Francis Besset 265826f6c6 Deleted useless ControllerListener 2011-07-17 20:41:18 +02:00
Francis Besset b4a293940a Added Contributors file 2011-07-17 19:46:43 +02:00
Francis Besset 234689f4e5 Fixed typo 2011-07-17 19:41:06 +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
Christian Kerl 5da442b716 added Zend\Soap\Wsdl\Strategy implementation supporting array types and complex types (classes)
Conflicts:

	ServiceDefinition/Dumper/WsdlDumper.php
2011-07-17 18:43:58 +02:00
Christian Kerl 62e07ba43c added support to retrieve parameter php type form type hint
Conflicts:

	ServiceDefinition/Loader/AnnotationClassLoader.php
2011-07-17 18:27:33 +02:00