SOAP Internal Error

I should use SOAP to call a web server function. I declared this parameters:

$this->parametriSOAP = [
        "location" => "",
        "login" => "UWT3CBXX",
        "password" => "PBUW9EBP",
        "authentication" => SOAP_AUTHENTICATION_BASIC,
        "trace" => true,
        "exceptions" => false
    ];

That’s my SoapClient instance:

$this->parametriSOAP["location"] = $endpoint;
        $wsdl = BASE_URL . "/storage/SistemaTS/" . $wsdl;
        $client = new SoapClient($wsdl, $this->parametriSOAP);

Instead this’s the function’s call:

$result = $client->__soapCall("EsitoInvii", [
        "DatiInputRichiesta" => [
            "protocollo" => "17080120163582925",
            "pinCode" => "0Gv1vsTpzlvRD9kBd8FVLo2/441rZ8rRZVf0Zi9eO6+L7kme0KC8Vx6ZjRj/4JjA4aHPTCi3D6YW9OtmYkIpW7sfchmhqHdVORBZHPitiPHdr5iIipAhIzBhFOQIPfpYasW5cQmU//uNB4GSWSNDIkaqdMrDjTPpIkbKKeoA4dQ="
        ]
    ]);

    if (is_soap_fault($result)) {
        var_dump($result->faultcode . " " . $result->faultstring);
        return false;
    }

    var_dump($result);

I receveid the error: env:Client Internal Error

Here there are WSDL and XSD schema: https://we.tlegiEBZ0vgT


Source: stackoverflow-php

Leave a Reply

Your email address will not be published. Required fields are marked *