PHP Classes

nested classes

Recommend this page to a friend!

      PHP WSDL Generator  >  All threads  >  nested classes  >  (Un) Subscribe thread alerts  
Subject:nested classes
Summary:wsdl nested classes
Messages:2
Author:Jasmin
Date:2008-02-25 08:57:36
Update:2008-04-02 12:08:58
 

  1. nested classes   Reply   Report abuse  
Picture of Jasmin Jasmin - 2008-02-25 08:57:37
hi,

i'm using your class to generate wsdl files for our intranet-webservice plattform. great work!

i've got something like this:

class Cust {
public function Exists($CustId) {
return true
}
}
class Ns {
protected $Customer;
public function __construct() {
$this->Customer = new Cust();
}
public function CustOb() {
return $this->Customer;
}
}

is it possible to publicate the class ns as a webservice and using it like this:
$client = new SoapClient();
$client->CustOb()->Exists(123);

does your class-support this and when yes, how i have to do the settings?

thank you for your fast reply :-)
jasmin

  2. Re: nested classes   Reply   Report abuse  
Picture of Protung Dragos Protung Dragos - 2008-04-02 12:09:01 - In reply to message 1 from Jasmin
Hi Jasmin,

Sorry i didn't replied sooner, i didn't saw this thread :(

If the question is still valid, please give me more details about what you want to achieve and I'll try to answer (this time sooner)

 
For more information send a message to info at phpclasses dot org.