Skip Menu |
 

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

Report information
The Basics
Id: 38035
Status: open
Priority: 0/
Queue: SOAP-WSDL

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

Bug Information
Severity: Important
Broken in: 2.00_05
Fixed in: (no value)



Subject: incorrect request body type tag substitution when "set_prefix" used
Download (untitled) / with headers
text/plain 335b
Hi, When trying to add namespace prefix to an element tagname of element is converted to service method name. As a result serialized data is incorrect. SOAP::WSDL::Serializer::XSD Line 66 $data->__set_name("$opt->{prefix}:$name") if $opt->{prefix}; => $data->__set_name("$opt->{prefix}:".$data->__get_name()) if $opt->{prefix};
Subject: Re: [rt.cpan.org #38035] incorrect request body type tag substitution when "set_prefix" used
Date: Thu, 14 Aug 2008 09:40:08 +0200
To: bug-SOAP-WSDL [...] rt.cpan.org
From: Martin Kutter <martin.kutter [...] fen-net.de>
Download (untitled) / with headers
text/plain 189b
Hi, this is fixed in SVN for now, but it currently globally sets using the prefix for the element for all following calls, so it needs some better solution. Thank for reporting, Martin
From: mindsectr [...] gmail.com
Download (untitled) / with headers
text/plain 512b
yes.. you are right.. it causes errors under mod_perl, could you apply the following? if ( $opt->{prefix} ) { my $body_name = $data->__get_name(); $body_name =~ s/.+://; $data->__set_name($opt->{prefix} . ":" . $body_name ); } On Thu Aug 14 03:40:15 2008, martin.kutter@fen-net.de wrote: Show quoted text
> Hi, > > this is fixed in SVN for now, but it currently globally sets using the > prefix for the element for all following calls, so it needs some better > solution. > > Thank 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.