Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

location() method option does not exist #184

Open
Ludplay opened this issue Jul 10, 2020 · 1 comment
Open

location() method option does not exist #184

Ludplay opened this issue Jul 10, 2020 · 1 comment

Comments

@Ludplay
Copy link

Ludplay commented Jul 10, 2020

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 ]);

@jalvarado-it
Copy link

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants