Hi all,
I am a .NET developer who is working in AX 2009 writing some AIF Custom web services. The intention of the AIF services is to replace some obsolete code written against the Business Connector. Plus the AIF looks like a good long term option.
After struggling with a number of issues for a while now, I am of the opinion that the AIF in 2009 is very underdeveloped and difficult to use. The main issues are around no inbuilt support for de/serialization, and especially the lack of schema generation. Does this seem fair? The situation looks much better in AX2012 but that isn't an option.
Having to write my own schemas is a real problem. It seemed possible until I added a second service method that returns the same types - in the client, updating the service reference then resulted in a lot of duplicate service classes (because the WSDL has duplicate definitions from the two methods). I am writing my own code to try and work around this, but as I have no control over the way getSchema() is called during service generation, it's fairly tricky.
If anyone's aware of any utilities or libraries I would really appreciate a link! There is some really useful code here, and I'm using the de/serialize code but the schema generation isn't quite right.
*This post is locked for comments
I have the same question (0)