SOAPpy Error

L

linuxprog

hi all

i'm building a webservice client with soappy

when i send some informations it's returns an error
here is the informations that generates the error
var = SOAPpy.structType()
var._addItem("code", u"XysZjd")
var._addItem("value", 1)
when i send the var variable SOAPpy prints this

File "C:\Python23\lib\site-packages\SOAPpy\Client.py", line 473, in
__call__
return self.__r_call(*args, **kw)
File "C:\Python23\lib\site-packages\SOAPpy\Client.py", line 495, in
__r_call
self.__hd, self.__ma)
File "C:\Python23\lib\site-packages\SOAPpy\Client.py", line 366, in __call
config = self.config)
File "C:\Python23\lib\site-packages\SOAPpy\Client.py", line 228, in call
data = r.getfile().read()
AttributeError: 'NoneType' object has no attribute 'read'

when i have activate debug , the debug mode shows :
code : -1
msg :
headers : None

it should prints some thing like this if all goes well :
code : 200
msg : OK
headers : Date: Mon, 24 Sep 2007 09:08:45 GMT
Server: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch7
X-Powered-By: PHP/5.2.0-8+etch7
Content-Length: 2116
Connection: close
Content-Type: text/xml; charset=utf-8

wha's wrong ?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top