Agile Tortoise
Greg Pierce’s blog
« Gourds, Shinebox Wayback Machine »
XML-RPC in Axapta
I spent the better part of today doing something I’ve been meaning to get around to for some time…writing an XML-RPC client for Axapta, the ERP application I program for at work.
I had already laid some of the groundwork, extending wrapper classes for the WinInet API…and Axapta already has wrapper classes for the MS-XML parser, so I really just had to write the construction and deconstrution of messages that cohere to the XML-RPC spec, and the actual HTTP transport routines. It’s not done, but it’s working for all primitive datatypes now…and structs are supported in outgoing params ( not yet in results )…which means I have enough to communicate w/ Conversant, which is my primary purpose for this.
By letting Axapta and Conversant talk directly, I’m now able to synch contents of things on our Intranet with data in Axapta — and also automate some of the product catalog information that will be going into our new website ( which will be Conversant based ). I’m very happy about that. ![]()