Skip Menu |
 

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

Report information
The Basics
Id: 32188
Status: resolved
Priority: 0/
Queue: SOAP-WSDL

People
Owner: Nobody in particular
Requestors: A.Hindmarsh [...] office.caiw.nl
Cc:
AdminCc:

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



MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00
Content-Class: urn:content-classes:message
content-type: text/plain; charset="utf-8"
X-MS-Tnef-Correlator:
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 59F104D81B9 for <bug-SOAP-WSDL [...] rt.cpan.org>; Wed, 9 Jan 2008 06:42:09 -0500 (EST)
Received: (qmail 8191 invoked from network); 9 Jan 2008 11:42:08 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 9 Jan 2008 11:42:08 -0000
Received: from maquis-ext.kabelfoon.nl (HELO maquis.kabelfoon.nl) (62.45.52.209) by 16.mx.develooper.com (qpsmtpd/0.40-dev) with ESMTP; Wed, 09 Jan 2008 03:42:06 -0800
Received: from neo.office.caiw.intern (neo.office.caiw.intern [192.168.12.210]) by maquis.kabelfoon.nl (Postfix) with ESMTP id 69DF42FAF9 for <bug-SOAP-WSDL [...] rt.cpan.org>; Wed, 9 Jan 2008 12:42:01 +0100 (CET)
Delivered-To: cpan-bug+SOAP-WSDL [...] diesel.bestpractical.com
Subject: minor bug found and fixed in WSDL generation
Return-Path: <A.Hindmarsh [...] office.caiw.nl>
Thread-Index: AchStKXL2YGQZLGqR6iguDFXUktKow==
X-Original-To: bug-SOAP-WSDL [...] rt.cpan.org
X-Spam-Check-BY: 16.mx.develooper.com
Date: Wed, 9 Jan 2008 12:42:01 +0100
X-Spam-Level: *
Thread-Topic: minor bug found and fixed in WSDL generation
X-MS-Has-Attach:
Message-Id: <C6555D4CCA6AA44480FF95584EBD485B01A19E08 [...] neo.office.caiw.intern>
X-Mimeole: Produced By Microsoft Exchange V6.5.7226.0
To: <bug-SOAP-WSDL [...] rt.cpan.org>
Content-Transfer-Encoding: quoted-printable
From: "Ashley Hindmarsh" <A.Hindmarsh [...] office.caiw.nl>
X-RT-Original-Encoding: us-ascii
Content-Length: 1180
Download (untitled) / with headers
text/plain 1.1k
I can't release the WSDL (confidentiality), but I'm sure it's a problem with empty XSD complex types (e.g. <sequence/>), and the get_element() function returning an unchecked undef. The error: Can't use an undefined value as an ARRAY reference at /usr/local/lib/perl5/site_perl/5.8.8/SOAP/WSDL/Generator/Visitor/Typemap .pm line 248 In SOAP/WSDL/Generator/Visitor/Typemap.pm Patch: -------------------------------- if ( grep { $_ eq $content_model} qw(all sequence choice) ) { # visit child elements - for (@{ $type->get_element() }) { - $_->_accept( $self ); - } + if (my $elements = $type->get_element()) { + for (@$elements) { + $_->_accept( $self ); + } + } return; } --------------------------------- 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)
MIME-Version: 1.0
In-Reply-To: <C6555D4CCA6AA44480FF95584EBD485B01A19E08 [...] neo.office.caiw.intern>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Charset: utf8
References: <C6555D4CCA6AA44480FF95584EBD485B01A19E08 [...] neo.office.caiw.intern>
Message-Id: <rt-3.6.HEAD-2052-1200079216-1595.32188-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 54
Fixed in rev487 in SVN. Thanks for reporting, Martin


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.