How to make WPSAOP Soap Client Call ?
-
<?php /* * WSDL LOCATION: It can be found in admin section WP SOAP setting page. * SOAP SERVER LOCATION: It can be found in admin section WP SOAP setting page. * email: your wordpress user email. * password: your wordpress login password. */ $client = new SoapClient('WSDL LOCATION', array('cache_wsdl' => WSDL_CACHE_NONE)); try { $client->__setLocation('SOAP SERVER LOCATION'); $response = $client->__soapCall('authenticate', array('email' => 'youremail@aol.com', 'password' => 'yourpassword')); return $response; } catch (SoapFault $e) { return $e->getMessage(); } ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to make WPSAOP Soap Client Call ?’ is closed to new replies.