Adding a Service Reference in Visual Studio
To configure a Service Reference, do the following:
-
Right-click on the References folder in the project. From the menu select Add Service Reference.
-
You will be prompted with the Add Service Reference dialog. Enter the URL of the InRule Rule Service (e.g. http://server/InRuleRuleEngineService/service.svc)
-
Change the Namespace field to something descriptive such as RuleEngineService.
-
Click the OK button. This will add the Service Reference to your project.
-
Follow the code sample to Calling irServer SOAP Endpoint using a Service Reference.