What are potential reasons for empty parameters being passed from PHP SoapClient to ASP.Net Web Service?

One potential reason for empty parameters being passed from PHP SoapClient to ASP.Net Web Service could be due to incorrect parameter names or data types in the SOAP request. To solve this issue, ensure that the parameter names in the PHP SoapClient request match the parameter names expected by the ASP.Net Web Service, and that the data types are correctly specified.

// Correcting parameter names and data types in PHP SoapClient request
$client = new SoapClient("http://example.com/Service.asmx?WSDL");

$param1 = "value1";
$param2 = 123;

$response = $client->MethodName(array(
    'param1' => $param1,
    'param2' => $param2
));