From 2624a9d5c03340aed5d259f25c21a2bc368ea356 Mon Sep 17 00:00:00 2001 From: Scott Walters Date: Thu, 21 Aug 2014 20:50:56 -0400 Subject: [PATCH] applied patch from ticket #86142: Missing XML declaration in request https://rt.cpan.org/Public/Bug/Display.html?id=86142 tests still pass, so, good enough, right? --- lib/SOAP/WSDL/Serializer/XSD.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SOAP/WSDL/Serializer/XSD.pm b/lib/SOAP/WSDL/Serializer/XSD.pm index 738d865..7540b33 100644 --- a/lib/SOAP/WSDL/Serializer/XSD.pm +++ b/lib/SOAP/WSDL/Serializer/XSD.pm @@ -30,7 +30,7 @@ sub serialize { my $soap_prefix = $opt->{ namespace }->{ $SOAP_NS }; # envelope start with namespaces - my $xml = "<$soap_prefix\:Envelope "; + my $xml = qq|<$soap_prefix\:Envelope |; while (my ($uri, $prefix) = each %{ $opt->{ namespace } }) {