472,142 Members | 1,362 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,142 software developers and data experts.

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
0 1266

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 | 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 | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.