返回的XMLDocument我在Axapta的功能如下:从AX2009
static client XMLDocument GetXmlData()
{
XMLDocument xmlReturnDoc = new XMLDocument();
// Build XML Document
return xmlReturnDoc;
}
这将返回的XML文档。我再从.NET程序中使用的业务接口如下调用此:
Axapta ax;
object o;
ax = new Axapta();
ax.Logon(null, null, null, null);
o = ax.CallStaticClassMethod(“MyClass”, “GetXmlData”);
不过,我似乎并没有能够在.NET中投这一个System.Xml.XmlDocument。有没有办法做到这一点,或者我需要返回一个字符串并重新加载文档?