Generate WCF client proxies
- Last UpdatedApr 15, 2025
- 1 minute read
Namespaces for the objects defined in SAT.Desktop.Server.DataTransformation and SAT.Desktop.Server.DataTranformation.LightWeightObjectDefinition will change, depending on how you reference the IntelaTrac.Sdk.Service, either:
-
Through proxies generated through svcutil.exe , or
-
By adding as a service reference.
Using Svcutil.exe
In this utilization, the MobileOperator.SdkService is hosted as Mobile Operator Sdk Service. When this service is running, the client proxy can be generated using the svcutil.exe program provided by Microsoft with Visual Studio 2008. Using a Visual Studio command prompt, the syntax (depending on your service) will resemble the following example:
svcutil.exe /language:cs /out:APIClinet.cs /config:Sat.Synchronization.Service.exe.config http://localhost:8731/SdkService
For more information regarding svcutil.exe, please refer to the Visual Studio documentation, and to the MSDN site here:
http://msdn.microsoft.com/en-us/library/aa702565%28v=VS.90%29.aspx
Note: Using this method will generate the client proxies in the tempuri.org namespace.
Using a Service Reference
If you use a service reference to the IntelTrac.Sdk.Service, the namespace used will correspond to the name that you entered when creating the namespace.
Using IntelaTrack.Sdk.SdkClient
A wrapper class has been provided in the IntelaTrack.Sdk that encapsulates fault tolerances from the IntelaTrac.Sdk.Service. This class has retry logic that will ensure that minor interruptions are handled seamlessly.