Skip Menu |
 

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

Report information
The Basics
Id: 93555
Status: open
Priority: 0/
Queue: SOAP-Lite

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

Bug Information
Severity: Important
Broken in: 1.06
Fixed in: 0.716



Subject: empty uri with register_ns
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-826-1394097505-408.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 500
Download (untitled) / with headers
text/plain 500b
I set a namespace with a prefix like this: $soap->serializer->register_ns('uri:kow' => 'xmlns:q0'); $soap->envprefix('soapenv'); $soap->on_action(sub{ '' }); $soap->autotype(0); $soap->ns('','q0'); When generating a request, the namespace declared with register_ns in soapenv:Envelope element is empty in about 40% of requests: xmlns:q0="" or correctly xmlns:q0="uri:kow" I tested this behaviour with 1.06, 1.10, 1.11 versions. Requests generation works ok with SOAP::Lite version 0.716. Radek
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-826-1394097505-408.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: API
References: <rt-4.0.18-826-1394097505-408.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-14653-1395943232-615.0-0-0 [...] rt.cpan.org>
Message-ID: <rt-4.0.18-14653-1395943232-906.93555-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
From: raherh [...] gmail.com
Content-Length: 176
Download (untitled) / with headers
text/plain 176b
I had to fill in uri of the request: $soap->ns('myuri','q0'); then it's ok. Also additionally found out that previous versions have same behaviour as the latest one. Radek
MIME-Version: 1.0
X-Spam-Status: No, score=-3.6 tagged_above=-99.9 required=10 tests=[AWL=1.000, BAYES_00=-1.9, FROM_OUR_RT=-2, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-14653-1395943232-1444.93555-5-0 [...] rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-93555 [...] rt.cpan.org> <rt-4.0.18-826-1394097505-408.93555-5-0 [...] rt.cpan.org> <rt-4.0.18-14653-1395943232-1444.93555-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.140.101.101 with SMTP id t92mr3102222qge.115.1395945259968; Thu, 27 Mar 2014 11:34:19 -0700 (PDT)
Message-ID: <CAHrynWC5+CPaMSgT_ZVHFw9Sv8dEQ4W9cO5YO8MAuYm1+j5bFg [...] mail.gmail.com>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -3.6
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id B4B2D61E00D for <cpan-bug+SOAP-Lite [...] hipster.bestpractical.com>; Thu, 27 Mar 2014 14:34:28 -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 QEKUWzgz84pL for <cpan-bug+SOAP-Lite [...] hipster.bestpractical.com>; Thu, 27 Mar 2014 14:34:27 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 1F9C8240351 for <bug-SOAP-Lite [...] rt.cpan.org>; Thu, 27 Mar 2014 14:34:26 -0400 (EDT)
Received: (qmail 17504 invoked by alias); 27 Mar 2014 18:34:26 -0000
Received: from mail-qc0-f171.google.com (HELO mail-qc0-f171.google.com) (209.85.216.171) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Thu, 27 Mar 2014 11:34:24 -0700
Received: by mail-qc0-f171.google.com with SMTP id c9so4782188qcz.16 for <bug-SOAP-Lite [...] rt.cpan.org>; Thu, 27 Mar 2014 11:34:20 -0700 (PDT)
Received: by 10.224.40.195 with HTTP; Thu, 27 Mar 2014 11:34:19 -0700 (PDT)
Delivered-To: cpan-bug+SOAP-Lite [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #93555] empty uri with register_ns
Return-Path: <fred [...] redhotpenguin.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+SOAP-Lite [...] hipster.bestpractical.com
X-RT-Mail-Extension: soap-lite
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=7FQVeDmIFcxtH3lZbmXDER7VB9Ud7y1YqBMd9Fgq900=; b=c8nYOfegEji/l5wi2ZXgYLgoW1yjxiH4O74qg0xk2cjEsKR/W0Vkf643WLR8tkNS6Q 4I9+eUK9s7UMUn9ZM8n4KFMqkJJ177ZjL1g7nbMJwEKhLhNxG18QnXBQmW8ZPmyH2b+z iOvr24zwP2xqAc7gP2apEKkEuGSiPmi9gateVDELQXT0+I2mN0j8k+Oy0U+CB5+Kn4RK rTDOraHwnlveoQRqwzE1imW6340p7vYeNJnAwXAgJPHIGGxJVBughwxQQWXbMxZ6cSAb qMCbEDnHvDSpIZm3/1Po0iLO8g/HHVdUO9WH1vfdrvgB1eI8RictwQ+vJtCrVr2lZb2J mvoA==
Date: Thu, 27 Mar 2014 11:34:19 -0700
X-Spam-Level:
To: bug-SOAP-Lite [...] rt.cpan.org
X-GM-Message-State: ALoCoQkG2V+/12x07v2mH+ndd1C8E6qIroQ2dTucwvnKdMrr8ngHeoy96N76+lFk+/KxOFKBbRRr
From: Fred Moyer <fred [...] redhotpenguin.com>
RT-Message-ID: <rt-4.0.18-12109-1395945269-1191.93555-0-0 [...] rt.cpan.org>
Content-Length: 421
Download (untitled) / with headers
text/plain 421b
Can you provide a patch which resolves this issue? On Thu, Mar 27, 2014 at 11:00 AM, Radek via RT <bug-SOAP-Lite@rt.cpan.org> wrote: Show quoted text
> Queue: SOAP-Lite > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=93555 > > > I had to fill in uri of the request: > $soap->ns('myuri','q0'); > then it's ok. > Also additionally found out that previous versions have same behaviour as the latest one. > > Radek > > > >


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.