queencitycodefactory / cakesoap Goto Github PK
View Code? Open in Web Editor NEWA CakePHP 3.x wrapper for the PHP SoapClient
License: MIT License
A CakePHP 3.x wrapper for the PHP SoapClient
License: MIT License
Please helpme..
Call to undefined method CakeSoap\Network\CakeSoap::setConfig()
File /var/www/html/AloAurora/vendor/queencitycodefactory/cakesoap/src/Network/CakeSoap.php
Line: 86
$soap = new CakeSoap([
'wsdl' => 'https://domain/wsdl/customer.wsdl',
'userAgent' => 'SoapClient'
'uri' => 'http://domain/soap/',
'login' => 'xxx',
'password' => 'xxx',
]);
$action = 'get_xdrs';
$response = $soap->sendRequest($action, [
'SomeData' => [
'i_customer' => '270086',
'from_date' => '2018-06-01 00:00:00',
'to_date' => '2018-06-30 23:59:59',
'limit' => '10'
]
]);
As a developer I need more control on SoapClient behavior. Change "User Agent", caching, compression and other settings.
Following SoapClient options needs to be exposed to plugin users:
proxy_host
proxy_port
proxy_login
proxy_password
local_cert
passphrase
compression
encoding
classmap
exceptions
connection_timeout
typemap
cache_wsdl
user_agent
features
keep_alive
ssl_method
Full list of SoapClient options can be found here http://php.net/manual/en/soapclient.soapclient.php
To simplify support, I suggest to expose SoapClient options as prefixed options, e.g. soap_*
, soap_compression
.
In requirements says CakePHP 3.x but if try install on a old cakephp(3.1.14) app get this error
Problem 1
- queencitycodefactory/cakesoap 3.3.1 requires cakephp/cakephp >=3.2.0 ....
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.