notfalsedev / laravel-soap

A soap client wrapper for Laravel
MIT License
634 stars 122 forks source link

SOAP-ERROR: Encoding: object has no 'CommonMessageHeader' property #123

Open amlginina opened 7 years ago

amlginina commented 7 years ago

I'm trying to use laravel-soap with waseel service and I got this error

SOAP-ERROR: Encoding: object has no 'CommonMessageHeader' property

Here is my Controller : `<?php

namespace App\Http\Controllers;

use Artisaninweb\SoapWrapper\SoapWrapper; use App\Soap\Request\submitSchema; // use App\Soap\Response\submitSchemaResponse;

class SoapController { /**

And this is the submitSchema.php :

`<?php

namespace App\Soap\Request;

class submitSchema { protected $login; protected $password; protected $fullName;

public function __construct($login, $password, $fullName) { $this->login = $login; $this->password = $password; $this->fullName = $fullName; }

public function getlogin() { return $this->login; }

public function getpassword() { return $this->password; }

public function getfullName() { return $this->fullName; }

}`