GithubHelp home page GithubHelp logo

Comments (7)

bastien-phi avatar bastien-phi commented on August 18, 2024 2

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.

bastien-phi avatar bastien-phi commented on August 18, 2024 2

Thanks for the fix and the release ! 😀

from laravel-soap.

brianfy1 avatar brianfy1 commented on August 18, 2024 1

Thank you for the hint about the version.
Switching (back) to php v7.4.14 solved it apparently.

from laravel-soap.

brianfy1 avatar brianfy1 commented on August 18, 2024 1

Thanks as well from my side!

from laravel-soap.

CodeDredd avatar CodeDredd commented on August 18, 2024

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.

brianfy1 avatar brianfy1 commented on August 18, 2024

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.

CodeDredd avatar CodeDredd commented on August 18, 2024

Your right. The cast does the trick. Phpro does it the same way. Thanks. Making an PR.

from laravel-soap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.