« Return to Thread: Help with request batching issue.

Re: Help with request batching issue.

by Nick Joyce :: Rate this Message:

Reply to Author | View in Thread

On 13 Jun 2009, at 18:25, Mike Dickson wrote:

> On 06/13/2009 02:15 AM, Nick Joyce wrote:
>>
>> Sorry I missed you on IRC ..
>>
>> I'm going to assume that the result of get_all is an array with  
>> more than zero elements?
> Yes. It returns an array of identifiers (uuids) used in the other  
> calls to identify instances.  In the case below its likely an array  
> with a single element coming back.  This call does succeed.
>
>>
>> I'm not much of a Flex dev but I would like to confirm that PyAMF  
>> is doing the right thing here. Could you attach the http session?  
>> Request batching has been tested but all the kinks probably haven't  
>> been ironed out.
>>
> Sorry to be such a NOOB but how do you enable PyAMF to dump the HTTP  
> session? That'd be mighty handy :-)

PyAMF does not do that :) You should use some sort of intermediary  
such as Wireshark or Charles HTTP proxy (my favourite as it decodes  
AMF).

>
>
> Is there a way to force the channel to be sychronous, or send a  
> single response per message just so I can see if that changes  
> behaviour?  Like I said, I can see it doing the underlying calls in  
> my objects for each request so they arrive at the server correctly  
> but the response callback in the Flex client never get activated.

Sounds weird. It may be that the response is never being received by  
client. The HTTP session will tell us more.

>
>
> Thanks for the quick turnaround!
>
> Mike
_______________________________________________
PyAMF users mailing list - users@...
http://lists.pyamf.org/mailman/listinfo/users

 « Return to Thread: Help with request batching issue.