467,080 Members | 914 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,080 developers. It's quick & easy.

SOAPpy Error

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
Sep 24 '07 #1
  • viewed: 1152
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Harry George | last post: by
reply views Thread by benboals@gmail.com | last post: by
1 post views Thread by m.banaouas | last post: by
reply views Thread by Steve | last post: by
1 post views Thread by icius | last post: by
reply views Thread by pion | last post: by
1 post views Thread by neridaj@gmail.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.