SOAP and MSSQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi all, 

I am a new user of php & SOAP..I got one question about using SOAP. 
I have try to run SOAP and it runs successfully without any problem 

the following is the code of the SOAP server: 
class QuoteService { 
 private $quotes = array('V3' => 'password', 
  'kencana' =>'kencana', 
                         'wisna' =>'wisna'); 

private $status = array('V3' => 'Admin', 
  'kencana' =>'user', 
                         'wisna' =>'user'); 


function getQuote($symbol) { 
  if (isset($this->quotes[$symbol])) 
  { 
  return $this->quotes[$symbol]; 
  } 
  else 
  { 
  throw new SoapFault("Server","Unknown User Name '$symbol'."); 
  } 
  } 

function getStatus($symbol) { 
  if (isset($this->status[$symbol])) 
  { 
  return $this->status[$symbol]; 
  } 
  else 
  { 
  throw new SoapFault("Server","Unknown User Name '$symbol'."); 
  } 
  } 

as you can see, the code retrieved the data from the listed array, my
question is, is that possible to retrieve 
the data from mssql server?if yes, can i know how? 

I hope somebody can help me out, and pardon me as i am a new user of
this.therefore please bear with me. 

Regards, 
Kencana
-- 
View this message in context: http://www.nabble.com/SOAP-and-MSSQL-tf2600244.html#a7253893
Sent from the PHP - General mailing list archive at Nabble.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux