poisa Posted September 16, 2007 Share Posted September 16, 2007 I'm trying to connect to as SOAP service (Vertical Response's to be more precise). I run the following script but it returns an error message saying that the "login" function is not existent. As you can tell this is my first attempt at anything related to SOAP but as far as my humble Google research goes, once connected to the service, the client should somehow "incorporate" the service's functions. Well, this is not happening. <?php require ('SOAP/Client.php'); $soapclient = new SOAP_Client('https://api.verticalresponse.com/wsdl/1.0/VRAPI.wsdl', true); $session_id = $soapclient->login(array('username' => 'test', 'password' => 'test', 'session_duration_minutes' => '3')); echo $sid; ?> PEAR packages installed are: Mail_mimeDecode 1.5.0 stable Net_DIME 0.3 beta Net_SMTP 1.2.10 stable Net_Socket 1.0.8 stable Net_URL 1.0.15 stable PEAR 1.6.2 stable SOAP 0.11.0 beta XML_Parser 1.2.8 stable XML_RPC 1.4.0 stable XML_Serializer 0.18.0 beta XML_Util 1.1.4 stable Quote Link to comment https://forums.phpfreaks.com/topic/69576-pearsoap-very-simple-example-returns-errors-soap_client/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.