Skip to content

Help with local WSDL and specifying endpoint. #122

@cyberws

Description

@cyberws

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions