]> git.donarmstrong.com Git - debbugs.git/commitdiff
- Fix soapy insanity (closes: #422062)
authorDon Armstrong <don@donarmstrong.com>
Fri, 15 Jun 2007 22:24:37 +0000 (23:24 +0100)
committerDon Armstrong <don@donarmstrong.com>
Fri, 15 Jun 2007 22:24:37 +0000 (23:24 +0100)
cgi/soap.cgi
debian/changelog

index 6599109cf9ed2a4beeb4daabb81892cdbbed49ab..04d72652b72dcd2393f972ac0d24bec93be13306 100755 (executable)
@@ -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;
 
index bf922b8c6fee9f20ec2d0d77eae3d28ceb270bf0..6b6618264c6d780d39dd53ac102aae3daf0a29a4 100644 (file)
@@ -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 <cjwatson@debian.org>  Fri, 20 Jun 2003 18:57:25 +0100