Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: helmut.wollmersdorfer.ext [...] siemens.com
Cc:
AdminCc:

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



Subject: Content-Type 'charset=...' not set in HTTP header
Date: Fri, 5 Dec 2008 10:21:27 +0100
To: <bug-SOAP-WSDL [...] rt.cpan.org>
From: "Wollmersdorfer, Helmut (ext)" <helmut.wollmersdorfer.ext [...] siemens.com>
Download (untitled) / with headers
text/plain 1.2k
Hi, SOAP::WSDL::Client Version 2.00.05 http://search.cpan.org/src/MKUTTER/SOAP-WSDL-2.00.06/lib/SOAP/WSDL/Clien t.pm SOAP::Transport::HTTP::Client Version 0.710.08 http://search.cpan.org/src/MKUTTER/SOAP-Lite-0.710.08/lib/SOAP/Transport /HTTP.pm SOAP::WSDL::Client->call() calls SOAP::Transport::HTTP::Client with my $response = $transport->send_receive( endpoint => $self->get_endpoint(), content_type => $content_type_of{ $ident }, envelope => $envelope, action => $soap_action, ); but SOAP::Transport::HTTP::Client->send_receive() does not handle the parameter 'content_type': sub send_receive { my ($self, %parameters) = @_; my ($context, $envelope, $endpoint, $action, $encoding, $parts) = @parameters{qw(context envelope endpoint action encoding parts)}; If I hardcode my $response = $transport->send_receive( endpoint => $self->get_endpoint(), content_type => $content_type_of{ $ident }, envelope => $envelope, action => $soap_action, encoding => 'UTF-8', # XXX quick hack ); the HTTP Content-Type header is as expected, i.e. Content-Type: text/xml; charset=utf-8 HTH, TIA (and THX for the support by direct mail in the last days.) Helmut Wollmersdorfer
Hi Helmut, fixed in 2.00.07 Thanks, 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.