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

People
Owner: Nobody in particular
Requestors: florent.yvon [...] curie.fr
Cc:
AdminCc:

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



From prvs=002f3da76=florent.yvon [...] curie.fr 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 [...] curie.fr>
X-Ironport-Anti-Spam-Filtered: true
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
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 [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id DDFC8240CAC for <cpan-bug+SOAP-Lite [...] hipster.bestpractical.com>; Thu, 24 Oct 2013 09:34:12 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6XoTnlbjxOPu for <cpan-bug+SOAP-Lite [...] hipster.bestpractical.com>; Thu, 24 Oct 2013 09:34:07 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 7B1E6240799 for <bug-SOAP-Lite [...] rt.cpan.org>; Thu, 24 Oct 2013 09:34:07 -0400 (EDT)
Received: (qmail 19425 invoked by alias); 24 Oct 2013 13:34:06 -0000
Received: from cip02-in.curie.u-psud.fr (HELO cip02-in.curie.u-psud.fr) (129.175.59.36) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Thu, 24 Oct 2013 06:33:52 -0700
Received: from mbxparis01.curie.fr (HELO curie.fr) ([10.2.0.70]) by cip02-in.curie.u-psud.fr with ESMTP; 24 Oct 2013 15:33:44 +0200
Received: from [10.200.10.180] (10.200.10.180) by mail.curie.Fr (10.2.0.72) with Microsoft SMTP Server (TLS) id 14.1.289.1; Thu, 24 Oct 2013 15:33:43 +0200
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] curie.fr
Delivered-To: cpan-bug+SOAP-Lite [...] hipster.bestpractical.com
Subject: stubmaker.pl 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 [...] curie.fr>
X-RT-Mail-Extension: soap-lite
X-Original-To: cpan-bug+SOAP-Lite [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=simple/simple; d=curie.fr; i= [...] curie.fr; 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-Spam-Level:
X-Originating-Ip: [10.200.10.180]
To: <bug-SOAP-Lite [...] rt.cpan.org>
X-Ipas-Result: AqAEABshaVIKAgBG/2dsb2JhbABZgz9UiQe3AXSCU1EgHRYYAwIBAgFLDQgCwh+PaoQWA4kHjwOBL4UMjnKCKA
From: Florent Yvon <florent.yvon [...] curie.fr>
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 Perl.org infrastructure.

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