lundi 2 octobre 2017

Laravel 5.5 SOAP-ERROR Couldn't load from

I am using this Laravel Wrapper to make some SOAP calls from my Laravel 5.5 application.

Unfortunately I keep getting this error:

SOAP-ERROR: Parsing WSDL: Couldn't load from URL

EDIT I am using URL as a placeholder to my wsdl file.

My SoapController:

/**
 * Use the SoapWrapper
 */
public function show()
{
    $this->soapWrapper->add('Name', function ($service) {
        $service
            ->wsdl('URL')
            ->trace(true)

            ->options([
                'login' => 'login',
                'password' => 'password'
            ]);
    });

    // Without classmap
    $response = $this->soapWrapper->call('Name.Call', [
        'parameter'          => 'value',
    ]);

    var_dump($response);
    exit;
}

In my routes I have this:

Route::get('testsoapcalls', 'SoapController@show');

So when I go to /testsoapcalls I get the error

Anyone knows what I am doing wrong here?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2yCpSaN
via IFTTT

Aucun commentaire:

Enregistrer un commentaire