Commit Graph

293 Commits

Author SHA1 Message Date
Francis Besset 4d9b112bb5 Updated version to 0.2 2013-08-16 17:18:31 +02:00
Francis Besset 42d38653af [SoapBundle] Fixed SoapWebServiceController to keep compatibility with Symfony 2.0 2013-08-06 17:04:24 +02:00
Francis Besset 990cca2783 [SoapBundle] Fixed compatibility with Symfony 2.0 2013-08-06 15:20:17 +02:00
Francis Besset 9b0b9a8944 [SoapBundle] Fixed tests 2013-08-06 11:43:40 +02:00
Francis Besset 71d84eddb7 [SoapBundle] Fixed usage of bad key in ComplexType strategy
Fix issue #5
2013-08-06 11:02:21 +02:00
Francis Besset 762ca4d7eb [SoapBundle] [Doc] Updated documentation to Alias documentation 2013-08-05 09:52:54 +02:00
Francis Besset 5aefca6be7 [SoapBundle] Cleaned configuration 2013-08-05 09:40:39 +02:00
Francis Besset e765ea746e [SoapBundle] Moved configuration of ComplexType aliases from config to PHP objects with annotations
Before:
``` yaml
be_simple_soap:
    services_classmap:
        Cutomer: My\Bundle\Entity\Customer
        Cart:    My\Bundle\Entity\Cart

After:
``` php
<?php

namespace My\Bundle\Entity;

use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap;

/**
 * @Soap\Alias("Customer")
 */
class Customer
{
    // ... your PHP code
}

/**
 * @Soap\Alias("Cart")
 */
class Cart
{
    // ... your PHP code
}
2013-08-05 09:40:39 +02:00
Francis Besset 6de878de7d [SoapBundle] Fixed ComplexType strategy to find Type by Classname 2013-08-05 09:40:38 +02:00
Francis Besset 16dddc0da6 [SoapServer] Added Classmap class to find Type by Classname 2013-08-05 09:40:38 +02:00
Francis Besset 04a94bbbe4 [SoapBundle] Updated ComplexType strategy 2013-08-05 09:40:38 +02:00
Francis Besset be1e80799c [SoapBundle] Added services_classmap node configuration 2013-08-05 09:40:38 +02:00
Francis Besset 0c5d2c54ab Fixed tests 2013-07-25 09:53:04 +02:00
Francis Besset fe4e821ff5 Fixed syntax for PHP 5.3 2013-07-24 23:44:50 +02:00
Francis Besset 9487e3a9e7 Fixed tests which require a webserver 2013-07-24 23:40:21 +02:00
Francis Besset 491d5f1ab1 [SoapBundle] Removed the first char if the ComplexType start with `\`
Fixed issue https://github.com/BeSimple/BeSimpleSoapBundle/issues/59
2013-07-23 18:06:44 +02:00
Francis Besset a736a52bab [SoapBundle] [Doc] Removed installation from deps and update installation with composer 2013-07-23 09:39:18 +02:00
Francis Besset 10d37dcea7 [SoapBundle] [Doc] Added PHP cURL extension in requirements 2013-07-23 09:38:26 +02:00
Francis Besset eaeec1830d Removed travis build status in README 2013-07-23 09:12:34 +02:00
Francis Besset e4a9b70fb3 [SoapBundle] Fixed Configuration.php 2013-07-22 11:52:32 +02:00
Francis Besset 2e99bb7e17 [SoapServer] Fixed typo on SoapFault exception classes 2013-07-20 20:38:56 +02:00
Francis Besset 333c54d642 [SoapBundle] Fixed service definition of `besimple.soap.client.builder`
Fixed issue #1
2013-07-20 19:07:19 +02:00
Francis Besset 0a47f5c15f [SoapCommon] Added assert instance of Part in ParserTest.php 2013-07-19 19:18:34 +02:00
Francis Besset a2bd42c71f [SoapBundle] Used `BeSimple\SoapServer\Exception\ReceiverSoapFault` instead of `SoapFault` 2013-07-19 19:15:27 +02:00
Francis Besset f9a351f9bf [SoapServer] Added Sender and Receiver SoapFault exception 2013-07-19 19:12:37 +02:00
Francis Besset 934a639ff1 Created branch-alias 0.1-dev 2013-07-19 19:11:59 +02:00
Francis Besset b78bf408bf Reorganized directories structure 2013-07-19 17:01:55 +02:00
Francis Besset 9328c98935 Add 'src/BeSimple/SoapBundle/' from commit 'e99f707b105c0a0472260d8d42a5a14a7fb7a211'
git-subtree-dir: src/BeSimple/SoapBundle
git-subtree-mainline: 9a8d23fa23
git-subtree-split: e99f707b10
2013-07-19 17:00:11 +02:00
Francis Besset 9a8d23fa23 Add 'src/BeSimple/SoapServer/' from commit '127d06fcb9b401593203ce9287da14a4986158f4'
git-subtree-dir: src/BeSimple/SoapServer
git-subtree-mainline: 91bc9bdce7
git-subtree-split: 127d06fcb9
2013-07-19 16:57:58 +02:00
Francis Besset 91bc9bdce7 Add 'src/BeSimple/SoapClient/' from commit '41301775bf7ca3cc8f486929c0d7484dce4c7393'
git-subtree-dir: src/BeSimple/SoapClient
git-subtree-mainline: 714346c2fc
git-subtree-split: 41301775bf
2013-07-19 16:56:20 +02:00
Francis Besset 714346c2fc Add 'src/BeSimple/SoapCommon/' from commit 'db885b2be7328fd8e663ee256df2d8570daeac3c'
git-subtree-dir: src/BeSimple/SoapCommon
git-subtree-mainline: fa8139be14
git-subtree-split: db885b2be7
2013-07-19 16:53:31 +02:00
Francis Besset db885b2be7 Added KeyValue type 2013-02-27 17:03:38 +01:00
Francis Besset 2b60cec190 Fixed MessageBinder to avoid BC Break 2013-02-21 08:13:40 +01:00
Francis Besset b4900b95c5 Added Util\MessageBinder 2013-02-20 21:58:49 +01:00
Christian Scheb 2a82f02db3 Code formating changes 2012-08-02 10:13:49 +02:00
Christian Scheb 5b4f19d032 Schemas should only included when there is a "schemaLocation" attribute 2012-07-31 16:57:35 +02:00
Andreas Schamberger 587e421dca moved client specific code to SoapClient 2012-04-29 20:26:00 +02:00
Andreas Schamberger 51a971ed33 added soap client specific soap kernel 2012-04-29 19:23:46 +02:00
Andreas Schamberger 8b10219f73 add builder functions für configuring soap attachment handling 2012-04-29 19:23:45 +02:00
Andreas Schamberger 7819c31644 add XML mime filter 2012-04-29 19:23:33 +02:00
Andreas Schamberger 7f96a20f66 Several WS and CS fixes 2012-04-29 19:23:00 +02:00
Andreas Schamberger 31838105f0 add phpdoc and configuration of soap attachments 2012-04-29 18:52:55 +02:00
Andreas Schamberger 40a3bd5591 * sync server with client procession model
* add SwA/MTOM
2012-04-29 18:50:02 +02:00
Andreas Schamberger e697d41cc3 fix to make XmlMimeTypeConvert work 2012-01-29 17:54:48 +01:00
Andreas Schamberger efc6500ead replace internal type converter interface with cleaner solution 2012-01-08 09:50:23 +01:00
Andreas Schamberger d633516e1f replace internal type converter interface with cleaner solution 2012-01-08 09:50:11 +01:00
Andreas Schamberger bf8965895e mime filter is not generic 2012-01-08 09:31:01 +01:00
Andreas Schamberger 840fa56931 mime filter is not generic 2012-01-08 09:30:50 +01:00
Andreas Schamberger 2b2d40b3ac moved code from client to common 2012-01-07 13:19:22 +01:00
Andreas Schamberger 4d05f2889f moved code to common 2012-01-07 13:18:52 +01:00
Andreas Schamberger a4e9989941 fixed mtom type converter 2012-01-05 14:15:39 +01:00
Andreas Schamberger 67e181fd4f fixed mime to handle binary data correctly 2012-01-05 13:58:35 +01:00
Andreas Schamberger c5ccd89949 Added SwA to Client 2012-01-03 18:50:45 +01:00
Andreas Schamberger 22665b50ae fixed variable name 2012-01-03 18:48:40 +01:00
Andreas Schamberger f6ea609f46 fix parser and add attachment support 2012-01-03 16:38:50 +01:00
Andreas Schamberger e151d06371 fix mime parser bug 2012-01-03 12:38:58 +01:00
Andreas Schamberger 7cc928a111 skeleton of MimeFilter 2011-12-18 14:34:15 +01:00
Andreas Schamberger 8546fb45af doc comment fixes 2011-12-18 13:03:07 +01:00
Andreas Schamberger d6dcddca20 remove method for now (could be a filter later) 2011-12-18 09:07:36 +01:00
Andreas Schamberger aa35e9e172 working WS-Addressing and WS-Security filters 2011-12-17 20:36:56 +01:00
Andreas Schamberger f0d373f1b8 fixed variable name 2011-12-17 17:52:35 +01:00
Andreas Schamberger 7de7ee9c6c CS fixes 2011-12-17 16:25:49 +01:00
Andreas Schamberger 2e155db8f9 CS fixes 2011-12-17 16:05:25 +01:00
Andreas Schamberger ce30ccb504 phpdoc 2011-12-17 14:12:31 +01:00
Andreas Schamberger 099c1542a9 - encoding is always utf-8
- add missing location property
- consider domdocument for get/setContent
2011-12-17 13:45:18 +01:00
Andreas Schamberger baf6997e4b Merge remote-tracking branch 'csf/soap_foundation' 2011-12-17 13:30:44 +01:00
Andreas Schamberger 8a886c7eda use Helper constants 2011-12-17 11:10:08 +01:00
Andreas Schamberger 1122df8e12 WS-Adressing and WS-Security Filters 2011-12-11 21:20:35 +01:00
Andreas Schamberger a39af089f4 cs fixes 2011-12-04 17:29:50 +01:00
Andreas Schamberger c7e8928dfa move wsdl namespace constants to Helper 2011-12-04 15:38:23 +01:00
Andreas Schamberger d9bc76dfc3 Merge remote-tracking branch 'upstream/master' 2011-12-04 15:27:25 +01:00
Francis Besset dd3b22ae02 Merge pull request #1 from aschamberger/master
Mime Parser and Helper for future SoapClient/SoapServer implementations
2011-12-04 06:19:05 -08:00
Andreas Schamberger 9643fd4333 remove obsolete class 2011-12-04 14:24:22 +01:00
Francis Besset 80e8384c8b [Converters] Fixed bug if the date(time) is null 2011-12-01 11:05:59 +01:00
Christian Kerl c09a163b90 fixed method call in SoapKernel 2011-11-21 20:28:31 +01:00
Christian Kerl 6ac3493bc2 added basic soap processing classes discussed in #2 2011-11-21 20:21:24 +01:00
Andreas Schamberger 7b4b832d61 added wsdl:include to WsdlDownloader (and also the wsdl:import,
xs:import)
2011-11-20 18:13:42 +01:00
Andreas Schamberger 7b1e2eef93 removed orphan SoapRequest 2011-11-20 16:11:39 +01:00
Andreas Schamberger f168e8566a Curl instance is now given as parameter to WsdlDownloader + some
simplifications in client
2011-11-02 12:48:51 +01:00
Andreas Schamberger 3d906dc97a load WSDL file into DOM only if necessary 2011-11-01 17:17:16 +01:00
Andreas Schamberger 4ea60adcb7 added WsSecurityKey 2011-11-01 11:12:07 +01:00
Andreas Schamberger 247f9ae5da added WsdlHandler 2011-11-01 10:45:02 +01:00
Andreas Schamberger da344ad03f CS fixes 2011-11-01 08:28:08 +01:00
Andreas Schamberger e0049c906d unit tests 2011-10-31 11:55:14 +01:00
Andreas Schamberger 4becca0208 fixed parsing of mime headers 2011-10-31 11:54:41 +01:00
Andreas Schamberger a1972a209c add helper class
fix namespace
2011-10-22 11:32:26 +02:00
Andreas Schamberger ccd5d04078 added email
removed unused variable
2011-10-22 11:28:15 +02:00
Andreas Schamberger 574ad00396 mime parser 2011-10-22 11:25:26 +02:00
Andreas Schamberger eb8e8495ad remove obsolete functions/constants 2011-10-16 19:57:29 +02:00
Andreas Schamberger 101169f7d6 convert to unix line endings 2011-10-16 19:49:24 +02:00
Andreas Schamberger cfe1a966ab added cURL tests 2011-10-16 19:41:34 +02:00
Andreas Schamberger c54b2925fe * fixed missing port number in WsdlDownloader
* fixed boolean assertions
2011-10-16 17:35:14 +02:00
Andreas Schamberger 98a916957c fix file header 2011-10-16 17:18:35 +02:00
Andreas Schamberger a766b054c2 Merge remote-tracking branch 'upstream/master' 2011-10-15 11:02:42 +02:00
Francis Besset 0554e14a3e Renamed SoapServerBuilder::withHttpSession() to withPersistenceSession and added withPersistanceRequest() method 2011-10-12 21:57:00 +02:00
Francis Besset 004d88f564 Added SoapClientBuilder::withCompression() 2011-10-11 22:39:55 +02:00
Francis Besset d6c9074c94 Added SoapClientBuilder::withProxy() 2011-10-11 22:07:16 +02:00
Francis Besset 55a9b6e233 Fixed typo and added unit tests 2011-10-11 21:50:07 +02:00
Francis Besset f95a5177b1 Fixed typo and added unit tests 2011-10-11 21:24:32 +02:00
Francis Besset 0f30119294 Added AbstractSoapBuilder::withWsdlCache() method 2011-10-10 22:18:20 +02:00
Francis Besset 24a912b50d Fixed typo 2011-10-10 20:13:42 +02:00
Francis Besset 40eacb99e5 Fixed typo 2011-10-10 20:13:16 +02:00
Francis Besset 9ce673b8cb Added Authentication in SoapClientBuilder 2011-10-10 00:40:21 +02:00
Francis Besset a9b1bdc714 Deleted SoapClient 2011-10-10 00:21:23 +02:00
Francis Besset c1a3059a95 Updated SoapServerBuilder 2011-10-10 00:08:06 +02:00
Francis Besset c243957bdf Added typemap and classmap in AbstractSoapBuilder 2011-10-10 00:05:15 +02:00
Francis Besset 46ced393ca Updated SoapClientBuilder 2011-10-10 00:02:20 +02:00
Francis Besset 676d5cb108 [TypeConverterCollection] Added get, set, has and addCollection methods 2011-10-09 22:17:39 +02:00
Francis Besset fffc5f71da Added Classmap::addClassmap() method 2011-10-09 22:12:54 +02:00
Francis Besset 28ed21530d Added SoapClientBuilder 2011-10-09 20:17:50 +02:00
Francis Besset b270a51ba5 Replaced CLRF by LF and cleaned files 2011-10-09 19:41:56 +02:00
Francis Besset cd2d8d90e8 Extended SoapServerBuilder with AbstractSoapBuilder of SoapCommon library 2011-10-09 19:35:08 +02:00
Francis Besset 15123e9719 Added AbstractSoapBuilder 2011-10-09 19:13:12 +02:00
Francis Besset bc9df9d2d7 [SoapClient] Added exceptions and user_agent options 2011-10-08 22:02:54 +02:00
Francis Besset 29a388eb7d [SoapClient] Added Classmap 2011-10-08 15:07:49 +02:00
Francis Besset 402f229971 Added Classmap 2011-10-08 15:02:55 +02:00
Francis Besset 7be719ffc5 [SoapClient] Moved TypeConverterCollection parameter in the constructor 2011-10-08 12:22:17 +02:00
Andreas Schamberger cd14afe11e fixed file header 2011-10-03 21:03:46 +02:00
Christian Kerl 3bb6d3abd4 added method stubs to SoapServer 2011-10-03 13:35:37 +02:00
Andreas Schamberger 3040718c9d cs fixes 2011-10-02 12:23:59 +02:00
Andreas Schamberger 06ff1ab707 tests for WsdlDownloader and cs fixes 2011-10-02 12:09:19 +02:00
Christian Kerl 824919b537 added methods to SoapServerBuilder to add TypeConverterInterface and
TypeConverterCollection objects directly
2011-09-29 13:47:42 +02:00
Christian Kerl 642c50c051 added method to SoapServerBuilder to disable wsdl caching 2011-09-29 13:32:01 +02:00
Christian Kerl 3b9690101b SoapServerBuilder now uses constants from SoapCommon\Cache 2011-09-28 16:45:02 +02:00
Christian Kerl 07ff198822 added SoapServerBuilder offering simple interface to configure the
various options of a SoapServer
2011-09-28 16:40:10 +02:00
Christian Kerl 61946b30f8 initial checkin 2011-09-28 13:56:29 +02:00
Andreas Schamberger 713edb591c Initial commit for basic SoapClient enhancements. 2011-09-26 22:42:21 +02:00
Andreas Schamberger dfb2bcebb8 replace get_class($this) with __CLASS__ 2011-09-26 16:25:56 +02:00
Andreas Schamberger a46a42412e Renamed SoapClient to SimpleSoapClient 2011-09-26 15:52:03 +02:00
Francis Besset d29f0caa8d [SoapRequest] Returns null if headers is empty 2011-09-23 10:24:22 +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 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 5790a89571 Added SoapHeader in SoapRequest 2011-09-04 23:42:03 +02:00
Francis Besset caeb484e19 Renamed client cache_wsdl option to cache_type 2011-09-04 12:15:11 +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