我开始研究一个项目,该项目显示了我在下面用线描述的错误:
' VBScript
Set lLogOn = Server.CreateObject("RuleEngine26.Transact")
' They have a DLL named RuleEngine26.dll and are creating object out of it
' They put functions like dbconnection inside of it
' There is no source code for it, only the DLL is available
' VBScript
lprofile = lLogOn.PerformTxn(lChnlId, lAppId,"SignOn","",lUserId,lxmlrequest)
' Here they are calling a function and it returns XML
' The expected XML should contain 4 child nodes but I am getting none back
如何解决这些问题?
答案 0 :(得分:1)
如果通过“它返回一个xml”,你的意思是PerformTxn
方法返回一个XML对象,如MSXML2 DOMDocument或Element,那么你就错过了Set
语句: -
Set lprofile = lLogOn.PerformTxn(lChnlId, lAppId,"SignOn","",lUserId,lxmlrequest)