Subject: | empty complexType structure classes are missing 'use Class::Std::Fast::Storable' |
Date: | Thu, 24 Jan 2008 10:58:59 +0100 |
To: | <bug-SOAP-WSDL [...] rt.cpan.org> |
From: | "Ashley Hindmarsh" <A.Hindmarsh [...] office.caiw.nl> |
For the WSDL:
<element name="bar">
<complexType />
</element>
So when I try to call Foo::bar->new(), we get the error
Can't locate object method "new" via package "Foo::onEventResponse".
It looks like "Template/XSD/complexType/variety.tt" does not include
'all.tt' when there is no variety. It should at least include 'use
Class::Std::Fast::Storable'.
I tried including 'all.tt' and it works, but could probably be simpler.
I'm really impressed with the work on SOAP::WSDL 2.
Regards,
Ashley Hindmarsh
---------------------------------
Distro http://search.cpan.org/~mkutter/SOAP-WSDL-2.00_28/
Perl 5.8.8
FreeBSD tagans.caiw.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed May 16
11:44:28 CEST 2007 strommel@tagans.caiw.net:/usr/obj/usr/src/sys/CN
i386
Regards,
Ashley Hindmarsh / on behalf of CAIW Netwerken (I am not an employee,
but a contractor)