[web2py] Re: need help with xmlrpclib

2011-12-29 Thread Mirek Zvolský
This run on localhost. www.ereceips-server.com is redirected inside the 
Windows hosts files (to localhost).

In 1st case (without transport=) all works.
In 2nd case I just added transport=xmlrpclib.Transport(). But this is just 
instance of the basic class Transport(), not my own TransportClass(). I 
made no change. I just want test that in will work in exactly same way 
(however it doesn't work) earlier as I will create an inherited class and 
implement some changes.



[web2py] Re: need help with xmlrpclib

2011-12-27 Thread pbreit
In the first, you are POSTing directly to ereceipts-server.com. In the 
second, the request is going through a different server, however it is 
specified in your Transport() function.

We might need to see your Transport() function. Are you able to determine 
if web2py is returning the 400 error or the web server? Is it generating an 
error in the web2py error logs? Is the POST even making it to the 
ereceipts-server.com server? Or it could be failing at the proxy server.

Proxy situations are difficult to debug. While it's good to know what your 
server is sending, it's much better to know what the proxy server is 
sending and what the destination server is receiving.


[web2py] Re: need help with xmlrpclib

2011-12-22 Thread Mirek Zvolský
Maybe it could be good, if somebody can lead me a little, how can I debug 
such things (why web2py webservice returns 200 OK in one case and 400 Bad 
request in other case). Thanks for your hints.