Skip Menu |

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

Report information
The Basics
Id: 89746
Status: new
Priority: 0/
Queue: SOAP-Lite

Owner: Nobody in particular
Requestors: florent.yvon [...]

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

From prvs=002f3da76=florent.yvon [...] Thu Oct 24 09: 34:12 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.998 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_FAIL=0.001] autolearn=ham
X-Ironport-Anti-Spam-Result: AqAEABshaVIKAgBG/2dsb2JhbABZgz9UiQe3AXSCU1EgHRYYAwIBAgFLDQgCwh+PaoQWA4kHjwOBL4UMjnKCKA
X-Spam-Flag: NO
Content-Type: multipart/alternative; boundary="------------040601050808090908000304"
Message-ID: <526921B7.8000802 [...]>
X-Ironport-Anti-Spam-Filtered: true
X-Virus-Scanned: Debian amavisd-new at
X-Ironport-Av: E=Sophos;i="4.93,562,1378850400"; d="scan'208,217";a="629644"
X-Spam-Score: -6.998
Received: from localhost (localhost []) by (Postfix) with ESMTP id DDFC8240CAC for <cpan-bug+SOAP-Lite [...]>; Thu, 24 Oct 2013 09:34:12 -0400 (EDT)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 6XoTnlbjxOPu for <cpan-bug+SOAP-Lite [...]>; Thu, 24 Oct 2013 09:34:07 -0400 (EDT)
Received: from ( []) by (Postfix) with SMTP id 7B1E6240799 for <bug-SOAP-Lite [...]>; Thu, 24 Oct 2013 09:34:07 -0400 (EDT)
Received: (qmail 19425 invoked by alias); 24 Oct 2013 13:34:06 -0000
Received: from (HELO ( by (qpsmtpd/0.28) with ESMTP; Thu, 24 Oct 2013 06:33:52 -0700
Received: from (HELO ([]) by with ESMTP; 24 Oct 2013 15:33:44 +0200
Received: from [] ( by mail.curie.Fr ( with Microsoft SMTP Server (TLS) id; Thu, 24 Oct 2013 15:33:43 +0200
Authentication-Results: (amavisd-new); dkim=pass header.i= [...]
Delivered-To: cpan-bug+SOAP-Lite [...]
Subject: and complexType
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130119 Icedove/10.0.12
Return-Path: <prvs=002f3da76=florent.yvon [...]>
X-RT-Mail-Extension: soap-lite
X-Original-To: cpan-bug+SOAP-Lite [...]
Dkim-Signature: v=1; a=rsa-sha256; c=simple/simple;; i= [...]; q=dns/txt; s=cip; t=1382621632; x=1414157632; h=message-id:date:from:mime-version:to:subject; bh=3AEYFTMmYT1cIZUifkE/4uPQhxTDoIWqwtU6WM8hrYk=; b=EICcPfUFzgJ1Wmo4QoZDm/s8MV1gWTaOheaNplxvK6a1zSjwh1TQPwcx zIOs4GJTMHVTgpCsVEo0FqSLOs/gxw==;
Date: Thu, 24 Oct 2013 15:33:43 +0200
X-Originating-Ip: []
To: <bug-SOAP-Lite [...]>
From: Florent Yvon <florent.yvon [...]>
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-RT-Original-Encoding: iso-8859-1
Content-Length: 1237
Download (untitled) / with headers
text/plain 1.2k
Hello, it seems that stubmaker can't handle complex types as method parameters. For example, I have a method described in the WSDL like this: /<wsdl:message name="findById"> <wsdl:part element="tns:findById" name="parameters"> </wsdl:part> </wsdl:message> /Here the description of the complexType in the xsd part of the wsdl: / <xs:complexType name="findById"> <xs:sequence> <xs:element minOccurs="0" name="object_id" type="xs:int"/> </xs:sequence> </xs:complexType>/ Since the generated perl SOAP client contains a template like this for the method "findById": /SOAP::Data->new(name => 'findById', type => 'tns:findById', attr => {})/ the generated SOAP request looks like this: /<soapenv:Body> <tns:findById> <findById xsi:nil="true" xsi:type="tns:findById" /> </tns:findById> </soapenv:Body>/ while the true working request body should be this: /<soapenv:Body> <tns:findById> <object_id>an integer</object_id> </tns:findById> </soapenv:Body>/ Of course I could edit each Perl SOAP client to have correct parameter types, but we have multiple WSDL files to convert, and often updated. Is there anyway to deal with complex types with stubmaker ? Regards Florent
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-RT-Original-Encoding: iso-8859-1
Content-Length: 2465

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

Please report any issues with to