Skip Menu |

This queue is for tickets about the SOAP-WSDL CPAN distribution.

Report information
The Basics
Id: 106695
Status: rejected
Priority: 0/
Queue: SOAP-WSDL

People
Owner: Nobody in particular
Requestors: wolfsage [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 3.003
Fixed in: (no value)



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>
Thank you for your report. SOAP has a governing body and working group staffed almost entirely by Microsoft and Oracle people that churns out volumes and volumes of specifications in a CORBA-esque nightmare of complexity. When you opened this ticket, SOAP::WSDL was hopelessly behind and since then has been moved to life support. Reasonable looking patches will be applied and critical toolchain problems resolved (optimistically speaking). Documentation has been updated to note that this module is hopelessly out of date. For actual SOAP work, I recommend using an module such as Inline::Java or Inline::CSharp (if such a thing exists), or just writing Java.