From 2ce5407f0c170772e24eba56b97e96b74764d86e Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 15 Jun 2007 23:24:37 +0100 Subject: [PATCH] - Fix soapy insanity (closes: #422062) --- cgi/soap.cgi | 9 ++++++--- debian/changelog | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/cgi/soap.cgi b/cgi/soap.cgi index 6599109..04d7265 100755 --- a/cgi/soap.cgi +++ b/cgi/soap.cgi @@ -7,7 +7,10 @@ use SOAP::Transport::HTTP; use Debbugs::SOAP::Usertag; use Debbugs::SOAP::Status; -SOAP::Transport::HTTP::CGI - -> dispatch_to('Debbugs::SOAP::Usertag', 'Debbugs::SOAP::Status') - -> handle; +my $soap = SOAP::Transport::HTTP::CGI + -> dispatch_to('Debbugs::SOAP::Usertag', 'Debbugs::SOAP::Status'); +$soap->serializer()->soapversion(1.2); +# soapy is stupid, and is using the 1999 schema; override it. +*SOAP::XMLSchema1999::Serializer::as_base64Binary = \&SOAP::XMLSchema2001::Serializer::as_base64Binary; +$soap-> handle; diff --git a/debian/changelog b/debian/changelog index bf922b8..6b66182 100644 --- a/debian/changelog +++ b/debian/changelog @@ -190,6 +190,7 @@ debbugs (2.4.2) UNRELEASED; urgency=low fixed version (closes: #365352) - Allow ordering bugs by last action (closes: #318898) - Add notfixed/notfound commands (closes: #389634) + - Fix soapy insanity (closes: #422062) -- Colin Watson Fri, 20 Jun 2003 18:57:25 +0100 -- 2.39.2