tonynhan / protobuf-net

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

The underlying connection was closed: The connection was closed unexpectedly. #57

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Please include an e-mail address if this might need a dialogue!
==============

What steps will reproduce the problem?
1. Create a simple WCF Service.
2. Decorate the operations with [ProtoBuf.ServiceModel.ProtoBehavior]
3. Create a WCF Consumer to consumer the above service. 
4. In the proxy code (Reference.cs), decorate the operation with 
[ProtoBuf.ServiceModel.ProtoBehavior] as well. 

What is the expected output? What do you see instead?
Get the correct result but instead get "The underlying connection was 
closed: The connection was closed unexpectedly."

What version of the product are you using? On what operating system?
protobuf-net r249.zip. Windows Vista. 

Please provide any additional information below.
Only operation decorated with [ProtoBuf.ServiceModel.ProtoBehavior] is 
having problem, in the service, i have 2 service's operations, one is 
executed without any error, the one decorated with 
[ProtoBuf.ServiceModel.ProtoBehavior] is having problem. 

Original issue reported on code.google.com by tatsean1...@gmail.com on 15 May 2009 at 6:36

GoogleCodeExporter commented 8 years ago
Sorry, it was my mistake, i have fixed the problem, the original problem was i 
put the 
same Order for different data members. 

Original comment by tatsean1...@gmail.com on 15 May 2009 at 6:59