Found this usefull tip for when you are creating you own AIF Document Services in AX.
There is no service with namespace = ‘http://yournamespace’ and external name = ‘aService’.
Where ‘http://yournamespace’ is the namespace you specified on the service node in the AOT, and ‘aService’ is the external name of your service.
The problem is that on the service node of this service in the AOT, there was a ‘/’ (slash) at the end, like this:
Removing the slash at the end fixes the problem:
I did a refresh in the Service form and redeployed my services on the IIS, so you might have to do that too.