Class deployed as a service shows as an interface


I’m having an issue with a customer service. One of the classes that is exposed as part of the service shows as an interface rather than a class when I add the service reference in visual studio. There are a number of other classes that are exposed as part of this service and none of them have this problem.

Has anyone else experienced this issue and could point me in the right direction of what I need to do to debug this?

How is the class defined? Maybe it can’t be exposed as a class by some reason.

If you don’t see any reason, first check the generated C# classes in AOS’s bin\XppIL\AppShare\ServiceGeneration folder. If the C# code is not what you expect, debug X++ classes generating it (such as AifServiceDataTypeGenerator) to see what’s exactly going on.