Skip Menu |

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

Report information
The Basics
Id: 55646
Status: new
Priority: 0/
Queue: SOAP-WSDL

People
Owner: Nobody in particular
Requestors: dhorne [...] cpan.org
Cc:
AdminCc:

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



Subject: SOAP::WSDL generates inavlid perl code
The SOAP service we wish to subscribe to has a lot of elements, types and attributes with hyphens. SOAP::WSDL generates Perl code that won't compile because of this: E.g - in an Element response package. my %node-id_of :ATTR(:get<node-id>); __PACKAGE__->_factory( [ qw( node-id ) ], { node-id => \%node-id_of, }, { node-id => 'SOAP::WSDL::XSD::Typelib::Builtin::string', } ); E.g. in a type package: package EM6::Types::trading_date_1min::_trading-date-1min::XmlAttr; The compiler barfs on the instances of node-id and the hyphens in the package name.