Login   Register  
PHP Classes
elePHPant
Icontem

Describe Complex Types in WSDL

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      PHP WSDL Generator  >  All threads  >  Describe Complex Types in WSDL  >  (Un) Subscribe thread alerts  
Subject:Describe Complex Types in WSDL
Summary:describe defined classes in wsdl
Messages:2
Author:midnight88
Date:2011-01-14 12:01:02
Update:2011-02-03 16:58:32
 

  1. Describe Complex Types in WSDL   Reply   Report abuse  
Picture of midnight88
midnight88
2011-01-14 12:01:03
Hi, im building server side service. I have something like

class testClass{
/**
* @var string
*/
public $value1;
/**
* @var string
*/
public $value2;

/**
*
* @param string $string
* @return int
*/
public function testFunction($string){
return 1;
}
}

class MainClass {

/**
*
* @param testClass $object
* @return testClass
*/
public function testing(testClass $object){
return $object;
}
}

my goal is to describe testClass in wsdl file, so the client'll know what kind of parameters he should pass. i mean - describe sections like <types>. is it possible ?



  2. Re: Describe Complex Types in WSDL   Reply   Report abuse  
Picture of Sandro Lain
Sandro Lain
2011-02-03 16:58:32 - In reply to message 1 from midnight88
Hi,

I have the same problem: complex types for db tables' records.