Interviews9 answers
How many types of message exchange pattern(behavior ) in WCF
9 Answers
There are three types of message exchange pattern in WCF:
1. One-Way,
2. Request-Reply,
3. Duplex .
Request-Reply is the Default one.
In One Way message exchange pattern , WCF does not need to send reply back to client application and client application does not wait for the reply even.
In Request-Reply, Client application sends message to Service application and waits for the reponse from the service application.
In Duplex communication, client application or service application can start the communication and expect notification/ acknowledgement from their counter part.
Sanjukta PearlPosted Aug 18, 2015, 5:33 AM EDT
1 -Request/reply (Default )
2-one way
3 duplex (For Call back operations)
Nitin PanditPosted Jun 23, 2015, 10:35 AM EDT
There are 3 types of message exchange patterns are available in WCF:
(01.) Request/Reply: In the request-reply pattern, a client application sends a message to a WCF service and then waits for a reply. You will use this pattern most often.
(02.) One Way: In the one-way message exchange pattern, the client application sends a message to a WCF service but the service does not send a reply message to the client. You can use this pattern when the client does not need to wait for a reply from the service.
(03.) Duplex/Callback: In the duplex pattern, both the client and the service can initiate communication. You can use this pattern when you want the service to send a notification or alert to the client after the client has called the service.
Sujeet SumanPosted Jun 17, 2015, 6:51 PM EDT
Please once go through following link:
https://msdn.microsoft.com/en-us/library/ff395349.aspx
Sujeet SumanPosted Jun 17, 2015, 6:50 PM EDT
https://kiranpatils.wordpress.com/2011/10/16/wcf-behavioral-contracts-and-message-exchange-patterns/
Khan Abrar AhmedPosted Jun 16, 2015, 2:46 AM EDT
Request-Reply, One way & Duplex.
[OperationContract(IsOneWay = false)]-->Oneway
[OperationContract(IsOneWay = true)]-->Req-rep
http://www.codeproject.com/Articles/566543/WCF-Message-Exchange-Patterns-MEPs
Sreekanth ReddyPosted Jun 16, 2015, 2:42 AM EDT
http://www.codeproject.com/Articles/566543/WCF-Message-Exchange-Patterns-MEPs
Munesh SharmaPosted Jun 15, 2015, 8:30 PM EDT
service contract
data contract
message contract
fault contract
Munesh SharmaPosted Jun 15, 2015, 8:30 PM EDT
1 -Request/reply
2-one way
3 duplex
Lalit RaghavPosted May 27, 2015, 3:23 AM EDT






