ZF-8948: Allowing SOAP/WSDL ComplexType recursion.
Description
When a complexType contains itself (recursion), this is currently blocked when producing a WSDL file.
This patch allows for such recursion.
The pactch I've supplied works for me.
But I'm not convinced that the recursion fix is 100% as ...
class SingleEntity{
/** @var SingleEntity[] */
public $Entities = array();
/** @return SingleEntity */
public function SingleEntity(){
return new SingleEntity();
}
}
produces types of ...
and I've no idea if that is valid.
I'm new with this, so please check this.
Comments
Posted by Richard Quadling (rquadling) on 2010-01-27T05:17:36.000+0000
Patch to allow direct recursion - that is type A contains a entry of type A.
Posted by Richard Quadling (rquadling) on 2010-01-27T05:39:12.000+0000
This script is a really dumb script to show that the WSDL file can now be produced where an entity has an element of the same type as itself.
Posted by Benjamin Eberlei (beberlei) on 2010-02-05T16:21:09.000+0000
This is a duplicate