OnRun() CREATE(MQBus); CREATE(CC2); CREATE(XMLDom); CC2.AddBusAdapter(MQBus,1); MQBus.OpenReceiveQueue('vm_nav50demo\private$\tonavision',0,0);
CC2::MessageReceived(VAR InMessage : Automation "''.IDISPATCH") CLEAR(ScannerID); CLEAR(RequestType); // get the message InMsg := InMessage; InS := InMsg.GetStream(); // load the message into an XML document and find a node XMLDom.load(InS); RootNode := XMLDom.documentElement; ReturnedNode := XMLDom.documentElement; NodePath := 'ROOT'; IF XMLDOMMgmt.FindNode(RootNode,NodePath,ReturnedNode) THEN BEGIN
Comments
the FindNode function use the automation:
'Microsoft XML, v3.0'.IXMLDOMNode
When you open the codeunit 6224 and you go to the function FindNode(), open then the local variables, can u see these automation subtype or is ther "Unknown" :?: Can you compile this Codeunit :?:
Regards
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.