How can i call a d.net web service function using php.

please i need help…my php code is working on browser but not working when i send a message from my phone. Thanks in advanced.
elseif($message2==‘MAIL’)
{
//$ini = ini_set(“soap.wsdl_cache_enabled”,“0”);
$client = new SoapClient(‘http://10.0.0.27/pricehistory/service.asmx?wsdl’);

                         $response = $client->InserteStatement('pin' =>$newpin);

                               //$echostring="Your Request is being processed";
								 $echostring=$response;
								 
						 }else

Are you sending a message from your phone, or browsing with your phone? If sending, how?
Is that SoapClient address a local address?
Is “InserteStatement” correctly spelled?

Sponsor our Newsletter | Privacy Policy | Terms of Service