laravel-soap icon indicating copy to clipboard operation
laravel-soap copied to clipboard

location() method option does not exist

Open Ludplay opened this issue 5 years ago • 1 comments

When calling location method, we receive "Call to undefined method Artisaninweb\SoapWrapper\Service::location()".

Looking for some workaround, I have already seen that the location method can be passed as an option from the options method. But if the method is in the readme as a possible option, location method should be either work or be removed from the docs.

DOES NOT WORK: $service->wsdl($wsdl)->trace(true)->location($location)

WORKS: $service->wsdl($wsdl)->trace(true)->options(['user_agent' => 'PHPSoapClient', 'location' => $location ]);

Ludplay avatar Jul 10 '20 16:07 Ludplay

The location function is only availabe for the client, read the source code

image

jalvarado-it avatar Jan 23 '21 05:01 jalvarado-it