By David E.
The following guide was the created installing MSQueue and configuring a WCF using a Windows 7 OS.
1. Verify IIS is installed on the server machine where the WCF is going to be hosted.
2. Install MS Queue by following the instructions specified on this link:
http://msdn.microsoft.com/en-us/library/aa967729.aspx
3. Install or verify the following Windows Features :
4. Verify the following services are running:
a. Message Queuing
b. Net.Msmq Listener Adapter
c. Windows Process Activation Service
5. Create a Web application inside IIS. For this example, the application name used is FGMQService. The app name is important because is going to be used to name the queue.
6. Copy the Service File and dll to the folder pointed by the recently created web application.
7. Create a Private Message Queue by accessing Computer Management with the following name:
Note: The Queue Name must match the name of WebApp/ServiceName. In this example, the app name is FGMQService and the name of the SVC file contained on Web App folder.
8. You may want to enable Journal for the queue, to identify a history of the queue execution.
9. Allow permissions to the queue. The user account running the client and the one running the service and should have access to send and receive the queue respectively. Assign security to allow this.
10. Use the client to test the queue and check if the Service is being called using the queue. If no execution of the service is detected. Check for the Dead-letter messages on System Queues to determine any execution errors or time outs.




No comments:
Post a Comment