[ Alex Polvi ] > On Wed, Jun 17, 2009 at 11:46 AM, Eric Evans<[email protected]> wrote: > > [ Esteve Fernandez ] > >> Are you wrapping your transport with TFramedTransport? In any case, could > >> you > >> post both your client and your server? > > > > I'm having some trouble getting a Twisted client working with a Java > > server, and I noticed that you said something similar in THRIFT-148. > > > > Can you provide an example of Twisted client code that uses > > TFramedTransport? > > Not sure if this will help, but here is a very bare bones twisted > thrift client, server, and example thrift file.
I was able to get the client and server examples[1][2] Esteve attached to THRIFT-148 working. [1] https://issues.apache.org/jira/secure/attachment/12398649/client_20080124.py [2] https://issues.apache.org/jira/secure/attachment/12398650/server_20080124.py However, I seem to be having the same issue that Andy Smith was having[3], basically, as long as the client and server are Twisted everything seems to work fine, but a Twisted client against an implementation of the server in another language (or vice versa), does not. In my case I'm attempting to use a Twisted client against Cassandra's[4] RPC methods and the callback is never firing. [3] https://issues.apache.org/jira/browse/THRIFT-148?focusedCommentId=12666824&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12666824 [4] http://incubator.apache.org/cassandra/ -- Eric Evans [email protected]
