Bug#422062: get_status(419306) always returns an error
Package: debbugs
Severity: normal
--- Please enter the report below this line. ---
The SOAP interface always returns the following error message when
querying get_status(419306):
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:apachens="http://xml.apache.org/xml-soap"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Can't use string ("as_base64Binary") as a subroutine ref
while "strict refs" in use at /usr/share/perl5/SOAP/Lite.pm line 1159.
</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
Here is a snippet you can use to reproduce:
##########################################################
#!/usr/bin/env python
import SOAPpy
url = 'http://bugs.donarmstrong.com/cgi-bin/soap.cgi'
namespace = 'Debbugs/SOAP'
server = SOAPpy.SOAPProxy(url, namespace)
server.soapaction = '%s#get_status' % namespace
print server.get_status(419306)
##########################################################
Cheers,
Bastian
--- System information. ---
Architecture: i386
Kernel: Linux 2.6.18-4-686
Debian Release: lenny/sid
500 unstable www.debian-multimedia.org
500 unstable ftp.de.debian.org
1 experimental ftp.de.debian.org
--- Package information. ---
Depends (Version) | Installed
===================================-+-===========
perl5 |
OR perl | 5.8.8-7
exim |
OR mail-transport-agent |
libmailtools-perl | 1.74-1
ed | 0.2-20
libmime-perl | 5.420-1
libio-stringy-perl | 2.110-2
--
Bastian Venthur http://venthur.de
Debian Developer venthur at debian org
Reply to: