ncupper / protobuf-net

Automatically exported from code.google.com/p/protobuf-net
Other
0 stars 0 forks source link

v2.0.0.668 does not work as serializer for WCF. #418

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello.
I found strange behavior:
protobuf v1.0.0.282 is worked fine with WCF, but v2.0.0.668 is not.

Please see simple solution in zip-archive.
You can find 2 dll-files for protobuf-net.

The same code in solution has different result depend on which protobuf-net.dll 
you will be used.

My investigations showed that overrided ProtoOperationBehavior.CreateSerializer 
did not call.

I hope you will answer ASAP to me, because it is critical showstopper for my 
project.

Thank you.

Original issue reported on code.google.com by spa...@gmail.com on 27 Nov 2013 at 9:36

Attachments:

GoogleCodeExporter commented 9 years ago
Resolved.

It is OLD issue with simple array (MyClass[]) as return value.
As I remember I posted issue about it. So good luck to fix it. Thanks.

Original comment by spa...@gmail.com on 28 Nov 2013 at 1:17

GoogleCodeExporter commented 9 years ago
Still not resolved.
I added the comment to those OLD issue 296. My investigation showed that 
ProtoOperationBehavior.CreateSerializer returns default WCF serializer when 
array type is passed as parameter.

Original comment by Mikhail....@gmail.com on 15 Jan 2014 at 10:49