548
99.9
Sep 08, 2011
Dennis, you're not really instantiating the ActionServiceClient in as much as it is being generated automatically when you create a service reference to the service. So I think that is the step you are missing.
There are fairly complex ways to manually modify the web.config to contain all the necessary configuration to communicate with the service, but Visual Studio does this for you.
Just right click on your References folder in your web application, then select the Service Reference then select your service. If you built your WCF service correctly it will appear in the dialog and you can select it. When you click OK, VS generates all the code to communicate to the service.
Then you can make a reference to the proxy client.
You should analyze the Patterns In Action application a little more closely for more information on how this is done.
I hope this helps.