Hello everyone,
So I just wrote this post once but it seems that when I posted it nothing happened ... Let's give it another shot (and again ... hopefully i'm not spamming the forum).
I have started working on a server for an existing Flex application (over RTMPS) couple of days ago and i'm stumbling on a problem that is probably quite simple but my research on the forum and the API didn't resolved it.
I've created a service on the server side that should reply to the client request, the service calls works fine, however, replying to the request doesn't work as expected.
So the method look like this:
Code:
public MySessionObject login(Credentials o)
{
return new MySessionObject();
}
I was expecting the result to be a MySessionObject, however, when i'm sniffing the traffic the result (the rtmp _result) is wrapped in an flex.messaging.messages.AcknowledgeMessage packet preventing my client side application from understanding the packet properly. I might have missed some obvious binding/mapping but I can't figure it out.
I tried to use the ReturnType attribute but from what i've read that's not the intended purpose of this attribute.
Best regards.
EDIT: okay it took my some time to notice that the message had to be validated ... just removed to first and second post i had created before, sorry about that.