Hello Everyone,
I was wondering if anyone was able to succesfully hit the opencalais with SOAPpy.
I have REST working fine but when I try to go with SOAP I get a 403 response. I'm using the exact key and am 100% I'm not over my quota.
I'm using the wsdl supplied however it seems to be getting parsed wierdly
In [83]: wsdl.show_methods()
Method Name: Enlighten
In #0: parameters ((u'http://clearforest.com/', u'Enlighten'))
Out #0: parameters ((u'http://clearforest.com/', u'EnlightenResponse'))
seems like I should be seeing the soap methods (Looking at the wsdl I can see there are much more methods)
so further when
callinfo=wsdl.methods['Enlighten']
and I get
In [91]: callinfo.inparams[0].name
Out[91]: u'parameters'
I assumed this might be an array and have tried sending an array, dictionary or params seperatly and have always recieved a 403.
Any ideas or thoughts would be greatly appreciated.
-A

Comments
I would recommend using suds, it's what I'm currently using.
from suds.client import Client client = Client('http://api.opencalais.com/enlighten/?wsdl') result = client.service.Enlighten(licenseID, content, paramsXML)Faced the same problem with soapPy ( 403 Http error ).
Seems now to work fine with suds !!
Thanks !