Jump to content

create an abstract complexType in PHP with nusoap


samug

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.


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.

Edited by Jacques1
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.