Hello,
I am consuming an external webservice in AX.
The problem is there are classes I cannot access from within AX.
For instance: the class "OpeningHour" is defined in the same namespace as the "ClientData", but I cannot reach it in AX. I can in .net though ...
Please have a look at the following:
https://i.imgur.com/7uOEglG.png
I can instantiate the clientData object in AX, but not the subclass:
https://i.imgur.com/QpOFs41.png, but both are public:
When I decompile the dll the classes seem to be evenly accessible: ("CLientdata" can be instantiated, but not the "OpeningHour" class)
How can .net see the class but not AX? Is it because the class is situated too "deep" in the namespace?
Am I mistaking somewhere?
On a sidenote: the class is created because of the following setting:
I set the service reference to create arrays for the collections (as AX doesn't seem to like generic lists too much :-) )
Hopefully someone can help me out here
Help is greatly appreciated
Kind regards