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

Help with local WSDL and specifying endpoint. #122

Open
cyberws opened this issue Sep 4, 2024 · 0 comments
Open

Help with local WSDL and specifying endpoint. #122

cyberws opened this issue Sep 4, 2024 · 0 comments

Comments

@cyberws
Copy link

cyberws commented Sep 4, 2024

Can someone please assist with the problem I am having.

I am accessing a web service that needs to use a local WSDL and a different endpoint.

At present I am creating a client with the following call.

$client = new nusoap_client($endpoint, $wsdl);

Where $endpoint is the URL of the $endpoint I wish to use and $wsdl is the path to a local file containing the required WSDL.

When I use the command the calls work but they are using the WSDL present at the endpoint which is an earlier version than the WSDL I need to be using.

The WSDL downloadable by appending "?wsdl" to the endpoint URL is version v3 of the WSDL. The local copy of the WSDL I have which I need to be using is version v14 of the WSDL. Calls are targeting v3 of the namespace (as specified in the WSDL at the endpoint), rather than the v14 namespace it should be using.

What is the syntax to create a nusoap_client getting it to use a WSDL file (which is on a local path) and also specifying the endpoint.

Thanks in advance for assistance or advise given.

Regards,

Phil.

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

No branches or pull requests

1 participant