Jump to content
Sign in to follow this  
samug

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:sequence>
<xsd:element minOccurs="0" name="identifier" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>

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



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

Thanks.


Share this post


Link to post
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.

Edited by Jacques1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

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.