daydreamer Posted November 4, 2009 Share Posted November 4, 2009 Hi, I am trying to send a SOAP request but I am getting an error: "SoapFault exception: [soap:Server] Server was unable to process request. ---> Object reference not set to an instance of an object." Here is my code: <?php $wsdl="https://testweb.commidea.com/PayerAuth/PayerAuth.asmx?wsdl"; $client=new SoapClient($wsdl, array( "trace" => 1, "exceptions" => 0)); $a['MerchantDetails']['AccountID']='22'; echo $client->EnrollmentCheck($a); ?> How am I supposed to be sending the request? Any help much appreciated. Link to comment https://forums.phpfreaks.com/topic/180287-soap-how-to-use-wsdl-and-send-a-request/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.