Commit Graph

307 Commits

Author SHA1 Message Date
Rémi Marseille
cdfc3cd5bd Updated visibility from private to protected 2014-04-22 21:53:14 +02:00
Francis Besset
9ac755d86e [SoapBundle] Set _format route to xml 2013-12-13 15:25:20 +01:00
Francis Besset
321dcf3058 [SoapBundle] Set wsdl request type only if the "wsdl" parameter in present in URL 2013-12-13 11:24:25 +01:00
Francis Besset
3a2b8e32ee [SoapBundle] Enhanced SoapFault management 2013-12-13 08:26:18 +01:00
Francis Besset
fd5154a469 Fixed typo 2013-12-10 15:25:09 +01:00
Francis Besset
188f282a87 [SoapWsdl] Specify an empty message if the input is empty 2013-12-10 15:25:09 +01:00
Francis Besset
f9e230400d [SoapBundle] Fixed RpcLiteralRequestMessageBinderTest 2013-12-08 00:27:33 +01:00
Francis Besset
1b4e262c60 [SoapBundle] Simplified conditional statement 2013-12-08 00:25:20 +01:00
Francis Besset
60e3714602 [SoapBundle][SoapCommon] Removed unused TypeRepository in Definition\Method classes 2013-12-08 00:23:30 +01:00
Rekky
1e82d7fdd7 Fix WSDL schema stylesheet including 2013-12-07 19:55:33 +01:00
Francis Besset
8788d7595d Cleaned unused method, property, variable or parameter 2013-12-02 16:02:29 +01:00
Francis Besset
b45224587a Added use TypeConverterInterface 2013-12-02 15:39:59 +01:00
Francis Besset
c8baf14c75 Fixed typo 2013-12-02 15:39:39 +01:00
Francis Besset
53849c68e0 Removed unused use statement 2013-12-02 15:35:36 +01:00
Francis Besset
ecdf7e1872 Fixed an undefined variable
Fixed commit c830097430
Fixed issue #22
2013-11-20 08:45:12 +01:00
Francis Besset
dcfca04db4 Merge remote-tracking branch 'origin/exception'
Conflicts:
	composer.json
	src/BeSimple/SoapBundle/composer.json
2013-11-15 10:37:55 +01:00
Francis Besset
73efa627ce Removed old Zend dependencies in composer.json 2013-11-13 16:43:47 +01:00
Francis Besset
d6752a41e9 [SoapWsdl] Fixed bad usage name of type included in an other ComplexType
Fixed issue #21
2013-11-13 15:46:50 +01:00
Francis Besset
6a6661012e [SoapBundle] Enhanced exception management with Symfony2 2013-11-13 15:02:30 +01:00
Francis Besset
10705aa9e2 Merge branch '0.1'
Conflicts:
	src/BeSimple/SoapServer/SoapResponse.php
2013-11-06 16:50:31 +01:00
Francis Besset
7fa666e9de [SoapServer] Removed headers added by SoapServer::handle() method 2013-11-06 16:48:44 +01:00
Francis Besset
bd2508f854 Merge branch '0.1' 2013-11-06 09:31:58 +01:00
Francis Besset
e9429a5d03 Fixed ambiguous namespaces usage 2013-11-06 09:30:43 +01:00
Martin Hasoň
98842b24f8 Fixed typo 2013-11-01 13:40:16 +01:00
Francis Besset
48d305e7db Merge branch 'wsse' of https://github.com/aschamberger/BeSimpleSoap into aschamberger-wsse
Conflicts:
	.travis.yml
	src/BeSimple/SoapServer/SoapRequest.php
2013-10-30 17:00:44 +01:00
Francis Besset
4a97c2537e Merge branch 'patch-1' of https://github.com/rekky/BeSimpleSoap into rekky-patch-1 2013-10-30 16:51:54 +01:00
Francis Besset
b8f37d213e Fixed version besimple/soap-* version in README's 2013-10-30 16:49:47 +01:00
Francis Besset
6e967fe811 Merge branch 'readmes' of https://github.com/aschamberger/BeSimpleSoap into aschamberger-readmes 2013-10-30 16:47:25 +01:00
Francis Besset
00c8726bb2 Updated composer.json 2013-10-30 16:35:17 +01:00
Andreas Schamberger
9ddac35f18 Fix doc comment 2013-10-30 12:31:00 +01:00
Rekky
ed0846da6f Fix byte length counting if strlen overloading is used 2013-10-30 11:18:22 +04:00
Ronan Le Bris
e7d86b3e99 Adding besimple/soap-wsdl to dependencies
Fix missing `BeSimple\SoapWsdl\Dumper\Dumper` class in `BeSimple\SoapBundle\WebServiceContext`
2013-10-28 11:09:23 +01:00
Francis Besset
54894b2fd9 Fixed ComplexType without alias name
Fix issue #17
2013-10-17 13:51:31 +02:00
Francis Besset
95efa3e366 Fixed CS 2013-10-17 13:48:02 +02:00
Francis Besset
c830097430 Rewrited Definition of WebService and WSDL dumper 2013-10-15 11:46:12 +02:00
Francis Besset
391a3f10b8 Merge branch '0.1' 2013-10-15 11:15:10 +02:00
Francis Besset
ad82f752f7 [SoapBundle] Added new request format (soap, wsdl) and used them in routing 2013-09-30 16:45:30 +02:00
Francis Besset
ebd565cd79 Fixed besimple/soap-* version 2013-09-27 21:35:39 +02:00
Francis Besset
81ce2d7571 Merge branch '0.1' 2013-09-27 21:33:11 +02:00
Francis Besset
4391b94dbb Fixed besimple/soap-* version 2013-09-27 21:30:33 +02:00
Lukas Kahwe Smith
1bbf41fd78 allow Symfony2.4+ versions and do not use self.version inside require 2013-09-27 21:22:30 +02:00
Andreas Schamberger
461675042a fix soap header handling 2013-08-30 22:07:44 +02:00
Francis Besset
adb1d9bd89 [SoapBundle] Keep debug in WebServiceContext
Issue #6
The generated cache is incorrect (maybe because service are cached).
To fix the problem quickly, the debug mode is enabled.
2013-08-26 14:40:00 +02:00
Andreas Schamberger
f5a8573a4e Add readme files 2013-08-24 17:38:18 +02:00
Andreas Schamberger
8e305da9c0 change url for check if axis is ready 2013-08-24 10:53:24 +02:00
Andreas Schamberger
d8d6ca5795 fix problem with cache path 2013-08-24 09:39:56 +02:00
Andreas Schamberger
155956ca04 change file permissions 2013-08-24 08:44:10 +02:00
Andreas Schamberger
3f41d4b7bc change file permissions 2013-08-24 08:41:59 +02:00
Andreas Schamberger
4fa7fd759a add phpwebserver to travis 2013-08-24 08:24:31 +02:00
Andreas Schamberger
2b12264304 Axis and SoapServer interop tests 2013-08-23 23:25:16 +02:00
Andreas Schamberger
f8a80c0361 fix wrong method call 2013-08-23 21:45:09 +02:00
Andreas Schamberger
19def707d3 use WsSecurityFilterClientServer from common 2013-08-23 20:59:35 +02:00
Andreas Schamberger
b21d758e77 remove now obsolete code 2013-08-23 20:57:37 +02:00
Andreas Schamberger
9bc9410172 add BinarySecurityToken resolving to key resolver 2013-08-23 20:57:07 +02:00
Andreas Schamberger
1cde22d8bb fix securitykey factory method call 2013-08-23 20:56:37 +02:00
Andreas Schamberger
8d62141a3d add workaround for cli webserver option 2013-08-23 20:55:26 +02:00
Andreas Schamberger
96f8415b92 added encryption to WS Security 2013-08-23 20:48:13 +02:00
Andreas Schamberger
5229091033 further steps with WS-Security (signing) 2013-08-23 20:47:55 +02:00
Andreas Schamberger
580e6f4da7 added WsSecurityFilter that supports UsernamePassword for now 2013-08-23 20:47:41 +02:00
Andreas Schamberger
6a5109c526 fix SoapFault handling to throw proper soap fault to client 2013-08-23 20:47:20 +02:00
Andreas Schamberger
5e6fd5de25 extract common code used in client/server 2013-08-23 20:43:48 +02:00
Andreas Schamberger
ee321fca42 fix missing 'cid:' in SwaTypeConverter 2013-08-23 20:43:22 +02:00
Andreas Schamberger
b5af83f9d2 add workaround for cli webserver, option implemented in client 2013-08-23 20:30:50 +02:00
Francis Besset
f792f53aa2 Added composer.json 2013-08-16 17:18:40 +02:00
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