[% IF (base=complexType.get_base);
    base_type=definitions.get_types.0.find_type(complexType.expand(base));
-%]
use base qw(
    SOAP::WSDL::XSD::Typelib::ComplexType
    [% XSD.create_xsd_name(base_type) %]
);
[%
ELSE;
    THROW NOT_IMPLEMENTED, "extension without base not supported";
END %]