Jump to content

create an abstract complexType in PHP with nusoap


Recommended Posts

I need create an abstact complexType in php with nusoap to create this type in wsdl:

<xsd:complexType abstract="true" name="abstractClass">
<xsd:element minOccurs="0" name="identifier" nillable="true" type="xsd:string"/>

I don't know how to put it to be abstract. I'm using this in PHP:

$server->wsdl->addComplexType( 'abstractClass',
array('identifier' => array('minOccurs' => '0','name' =>
'identifier','type' => 'xsd:string'))


Link to comment
Share on other sites

NuSOAP is dead. The last version on SourceForge is from 2011, and the code is written for PHP 4 which had its last release back in 2008. You'd need a time machine or a complete rewrite to fix that.


I couldn't find any such feature in the code either, so I think it's safe to assume it doesn't and will never exist.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.