Well, I'm not very sure that you can override the enumeration that is created when creating the service link.
Perhaps this solution is for you:
When a service link is created, the generated .cs file is a partial class. You can create yourself another partial class with the same namespace. Inside this class, you can create a method or property that returns a converted enumeration type. This file will not be overridden when updating the help service.
Example:
(Reference class of generated services)
public partial class ServiceReferenceComplexType { public enum EnumValues { Item0, Item1, Item2 } }
(Self created partial class)
public partial class ServiceReferenceComplexType { public string GetCorrectEnumValue() {
Now you can use the ServiceReferenceComplexType.GetCorrectEnumValue () method to get your value.
source share