Subject: | SOAP::WSDL chokes on seemingly valid WSDL |
$ perl wsdl2perl.pl -b AuthenticationService/ 'https://platform.mediamind.com/Eyeblaster.MediaMind.API/V2/AuthenticationService.svc?wsdl'
found unrecognised attribute {http://www.w3.org/2006/05/addressing/wsdl}Action (ignored) at /home/dev/extlib/lib/perl5/SOAP/WSDL/Base.pm line 130.
found unrecognised attribute {http://www.w3.org/2006/05/addressing/wsdl}Action (ignored) at /home/dev/extlib/lib/perl5/SOAP/WSDL/Base.pm line 130.
found unrecognised attribute {http://www.w3.org/2006/05/addressing/wsdl}Action (ignored) at /home/dev/extlib/lib/perl5/SOAP/WSDL/Base.pm line 130.
found unrecognised attribute {http://www.w3.org/2006/05/addressing/wsdl}Action (ignored) at /home/dev/extlib/lib/perl5/SOAP/WSDL/Base.pm line 130.
found unrecognised attribute {http://www.w3.org/2006/05/addressing/wsdl}Action (ignored) at /home/dev/extlib/lib/perl5/SOAP/WSDL/Base.pm line 130.
found unrecognised attribute {http://www.w3.org/2006/05/addressing/wsdl}Action (ignored) at /home/dev/extlib/lib/perl5/SOAP/WSDL/Base.pm line 130.
found unrecognised attribute {http://www.w3.org/2006/05/addressing/wsdl}Action (ignored) at /home/dev/extlib/lib/perl5/SOAP/WSDL/Base.pm line 130.
found unrecognised attribute {http://www.w3.org/2006/05/addressing/wsdl}Action (ignored) at /home/dev/extlib/lib/perl5/SOAP/WSDL/Base.pm line 130.
Creating element class MyElements/ClientLogin.pm
Creating element class MyElements/ClientLoginResponse.pm
Creating element class MyElements/ClientLogout.pm
Creating element class MyElements/ClientLogoutResponse.pm
Creating element class MyElements/ClientImpersonation.pm
Creating element class MyElements/ClientImpersonationResponse.pm
Creating simpleType class MyTypes/char.pm
Creating simpleType class MyTypes/duration.pm
Creating simpleType class MyTypes/guid.pm
Creating element class MyElements/anyType.pm
Creating element class MyElements/anyURI.pm
Creating element class MyElements/base64Binary.pm
Creating element class MyElements/boolean.pm
Creating element class MyElements/byte.pm
Creating element class MyElements/dateTime.pm
Creating element class MyElements/decimal.pm
Creating element class MyElements/double.pm
Creating element class MyElements/float.pm
Creating element class MyElements/int.pm
Creating element class MyElements/long.pm
Creating element class MyElements/QName.pm
Creating element class MyElements/short.pm
Creating element class MyElements/string.pm
Creating element class MyElements/unsignedByte.pm
Creating element class MyElements/unsignedInt.pm
Creating element class MyElements/unsignedLong.pm
Creating element class MyElements/unsignedShort.pm
Creating element class MyElements/char.pm
/home/dev/extlib/lib/perl5/SOAP/WSDL/Generator/Template/XSD\element.tt undef error - no node at /home/dev/extlib/lib/perl5/SOAP/WSDL/Generator/Template/Plugin/XSD.pm line 55.
SOAP::WSDL::Generator::Template::Plugin::XSD::create_xsd_name(SOAP::WSDL::Generator::Template::Plugin::XSD=SCALAR(0x15f9388), "") called at /home/dev/extlib/lib/perl5/SOAP/WSDL/Generator/Template/XSD/element.tt line 22
eval {...} called at /home/dev/extlib/lib/perl5/SOAP/WSDL/Generator/Template/XSD/element.tt line 22
eval {...} called at /home/dev/extlib/lib/perl5/SOAP/WSDL/Generator/Template/XSD/element.tt line 7
Template::Document::__ANON__(Template::Context=HASH(0x23685f8)) called at /home/dev/extlib/lib/perl5/x86_64-linux-thread-multi/Template/Document.pm line 163
eval {...} called at /home/dev/extlib/lib/perl5/x86_64-linux-thread-multi/Template/Document.pm line 161
Template::Document::process(Template::Document=HASH(0x235e7e8), Template::Context=HASH(0x23685f8)) called at /home/dev/extlib/lib/perl5/x86_64-linux-thread-multi/Template/Context.pm line 347
eval {...} called at /home/dev/extlib/lib/perl5/x86_64-linux-thread-multi/Template/Context.pm line 321
Template::Context::process(Template::Context=HASH(0x23685f8), Template::Document=HASH(0x235e7e8)) called at /home/dev/extlib/lib/perl5/x86_64-linux-thread-multi/Template/Service.pm line 94
eval {...} called at /home/dev/extlib/lib/perl5/x86_64-linux-thread-multi/Template/Service.pm line 91
Template::Service::process(Template::Service=HASH(0x2362ee0), "element.tt", HASH(0x233b5b8)) called at /home/dev/extlib/lib/perl5/x86_64-linux-thread-multi/Template.pm line 66
Template::process(Template=HASH(0x23e2320), "element.tt", HASH(0x233b5b8), "MyElements/char.pm") called at /home/dev/extlib/lib/perl5/SOAP/WSDL/Generator/Template.pm line 66
SOAP::WSDL::Generator::Template::_process(SOAP::WSDL::Generator::Template::XSD=SCALAR(0x1f76d90), "element.tt", HASH(0x235e680), "MyElements/char.pm") called at /home/dev/extlib/lib/perl5/SOAP/WSDL/Generator/Template/XSD.pm line 212
SOAP::WSDL::Generator::Template::XSD::visit_XSD_Element(SOAP::WSDL::Generator::Template::XSD=SCALAR(0x1f76d90), SOAP::WSDL::XSD::Element=SCALAR(0x1efa890)) called at /home/dev/extlib/lib/perl5/SOAP/WSDL/Base.pm line 62
SOAP::WSDL::Base::_accept(SOAP::WSDL::XSD::Element=SCALAR(0x1efa890), SOAP::WSDL::Generator::Template::XSD=SCALAR(0x1f76d90)) called at /home/dev/extlib/lib/perl5/SOAP/WSDL/Generator/Template/XSD.pm line 90
SOAP::WSDL::Generator::Template::XSD::generate_typelib(SOAP::WSDL::Generator::Template::XSD=SCALAR(0x1f76d90), undef) called at /home/dev/extlib/lib/perl5/SOAP/WSDL/Generator/Template/XSD.pm line 76
SOAP::WSDL::Generator::Template::XSD::generate(SOAP::WSDL::Generator::Template::XSD=SCALAR(0x1f76d90)) called at wsdl2perl.pl line 148
at /home/dev/extlib/lib/perl5/SOAP/WSDL/Base.pm line 62.
It doesn't like something about the char type:
<xs:element name="char" nillable="true" type="tns:char"/>
<xs:simpleType name="char"><xs:restriction base="xs:int"/></xs:simpleType>