As yet, there is no single common RPC standard for use with protobuf. Protobuf-net hacks itself into WCF by swapping out some WCF guts, but while that will work with WCF-to-WCF it won't make sense to flex. That is why I suggested just sending a byte-array, since this is easily represented by most platforms (either as base-64 or MTOM). Of course you then need to deal with the byte-array at each end, but that is not usually a problem.
Marc On 24 Nov 2010, at 13:41, mvbaffa <[email protected]> wrote: > I will look for the threads, Thank you. > > I have a huge legacy in WCF/JSON and WCF/WsHttpBinding. I need to make > it work with Flex. I have already used Fluorine but I would like to > use protobuf now for my services. > > I intend to use protobuf-net in the server and protobuf-actionscript3 > in the client. This is the first time I use protobuf. I need an > example, specially in Flex. If I use in the server a WCF/protobuf-net > how could I call in ActionScript this service. > > To be frank I still do not understand how to configure protobuf. How > do I define the endpoints in Flex using the URLRequest, > HttpService ??? > > Pavel and Marc, please, can you send some code so that I can test the > Flex and WCF. > > Thanks in advance > > On Nov 24, 9:16 am, Pavel Shramov <[email protected]> wrote: >> On Wed, Nov 24, 2010 at 02:54:58AM -0800, mvbaffa wrote: >>> Do you have any reference of a real example sending and receiving >>> information using, including HTTP protocol. >> >> Search mailing list for 'http'. It was discussed numerious times already. >> >> For example I'm using protobuf over http (with actionscript too). >> Nothing difficult, just set propert Content-Type and be happy >> Pavel > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/protobuf?hl=en. > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
