i use this PHP Code :
<?php ini_set("soap.wsdl_cache_enabled", "0"); $AccountShabaCode = "123456789012345678900000"; $WorkTitle = "Example"; $GuildCode = "48160000"; $PardakhtYarTitle = "Xxxa"; $soapclient = new SoapClient('http://87.107.134.111:8021/PardakhtYar.asmx?wsdl'); $add_new_request = $soapclient->AddNewRequest(array('AccountShabaCode' => $AccountShabaCode, 'Password' => $Password, 'WorkTitle' => $WorkTitle, 'GuildCode' => $GuildCode, 'PardakhtYarTitle' => $PardakhtYarTitle)); print_r($add_new_request); ?> and get this error :
Fatal error: Uncaught SoapFault exception: [soap:Server] Server was unable to process request. ---> Object reference not set to an instance of an object. in C:\WAMP\home\example.tld\public_html\test.php:11 Stack trace: #0 C:\WAMP\home\example.tld\public_html\test.php(11): SoapClient->__call('AddNewRequest', Array) #1 {main} thrown in C:\WAMP\home\example.tld\public_html\test.php on line 11 How can I fix this error?
i need call "AddNewRequest" ( http://87.107.134.111:8021/PardakhtYar.asmx?op=AddNewRequest )