Comments (7)
I'm having the same issue here.
Under php 8.0, $oneWay
is a boolean in CodeDredd\Soap\Driver\ExtSoap\AbusedClient::__doRequest
(\SoapClient::__doRequest
was changed https://www.php.net/manual/en/soapclient.dorequest)
Phpro\SoapClient\Soap\HttpBinding\SoapRequest
expects an interger for $oneWay
As made in Phpro\SoapClient\Soap\Driver\ExtSoap\AbusedClient
, CodeDredd\AbusedClient
should create a SoapRequest
with $this->storedRequest = new SoapRequest($request, $location, $action, $version, (int) $oneWay);
I fixed the issue locally with this simple cast.
I'll try to make a PR for this next week but feel free to do it if you want !
from laravel-soap.
Thanks for the fix and the release ! 😀
from laravel-soap.
Thank you for the hint about the version.
Switching (back) to php v7.4.14 solved it apparently.
from laravel-soap.
Thanks as well from my side!
from laravel-soap.
Hey, sorry for the late answer. I tried it out and couldn't reproduce the error. Which php version are you using?
from laravel-soap.
Running php v8.0.1, using Laravel Homestead as my dev environment.
vagrant@box:~/code$ php -v
Xdebug: [Config] The setting 'xdebug.remote_connect_back' has been renamed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_connect_back (See: https://xdebug.org/docs/errors#CFG-C-CHANGED)
Xdebug: [Config] The setting 'xdebug.remote_enable' has been renamed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_enable (See: https://xdebug.org/docs/errors#CFG-C-CHANGED)
Xdebug: [Config] The setting 'xdebug.remote_log' has been renamed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_log (See: https://xdebug.org/docs/errors#CFG-C-CHANGED)
Xdebug: [Config] The setting 'xdebug.remote_port' has been renamed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_port (See: https://xdebug.org/docs/errors#CFG-C-CHANGED)
PHP 8.0.1 (cli) (built: Jan 13 2021 08:22:35) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.1, Copyright (c) Zend Technologies
with Zend OPcache v8.0.1, Copyright (c), by Zend Technologies
with Xdebug v3.0.2, Copyright (c) 2002-2021, by Derick Rethans
vagrant@box:~/code$
Using the latest hometead (stable) version
$ vagrant box update
==> box: Checking for updates to 'laravel/homestead'
box: Latest installed version: 11.0.0
box: Version constraints: >= 11.0.0, < 12.0.0
box: Provider: virtualbox
==> box: Box 'laravel/homestead' (v11.0.0) is running the latest version.
from laravel-soap.
Your right. The cast does the trick. Phpro does it the same way. Thanks. Making an PR.
from laravel-soap.
Related Issues (20)
- Error with composer install HOT 1
- Wrong Version - Version Mismatch laravel Soap vs PHP SoapClient HOT 5
- Cant install with php version 8.0 HOT 2
- Error sending arguments HOT 3
- How add SOAP Header to Request? HOT 2
- Delay between requests HOT 2
- Add PHP 8.2 support HOT 1
- missing WS-Addressing envelope headers HOT 6
- Error when faking http error response HOT 2
- ConnectionFailed::__construct(): Argument #1 ($request) must be of type CodeDredd\Soap\Client\Request, HOT 5
- Error passing a date parameter HOT 4
- Laravel 10 support HOT 1
- 400 Bad Request HOT 8
- not support to php 8.2 HOT 1
- Use of undefined constant WSDL_CACHE_DISK HOT 2
- I can't install HOT 7
- When will a non beta version of 4.0.0 be available? HOT 2
- Suppoort PHP 8.3
- Support for Laravel 11 HOT 2
- Tag on last version is inconsistent
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-soap.