[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Access to SOAP function denied.



Em Dom, 2007-05-27 às 14:33 -0700, Don Armstrong escreveu:
> 
> Ah; I checked b.d.c again, and it's currently using the old version of
> soap.cgi; the code below will work once I've finished with the new
> SOAP module, but in the meantime, you'll have to do something like
> this:
>  
> #!/usr/bin/python
> 
> import SOAPpy
> 
> url = 'http://bugs.donarmstrong.com/cgi-bin/soap.cgi'
> ns = 'Debbugs/SOAP/Status'
> server = SOAPpy.SOAPProxy(url, ns)
> 
> # Uncomment those to enable debugging
> # server.config.dumpSOAPOut = 1
> # server.config.dumpSOAPIn = 1
> 
> server.soapaction = '%s#get_status' % ns
> result = server.get_status(404404)
> print result
> 
> 
> The bug ones won't work until I get the new version up, which will be
> a bit.

I see, thanks.

Regards,
Gustavo R. Montesino



Reply to: