The first parameter of method getNonXML is a relativ path, unless it starts with “HTTP”. This is what the Tamino documentation sais:
GetNonXml
LPDISPATCH GetNonXml(LPDISPATCH lpszReURL, LPCTSTR lpszFile)
Gets a document or file from the Tamino database.
Parameters:
lpszReURL - NULL or the relative URL added to the database URL if it does not begin with “http://”
lpszFile - the document or file
Return Type:
IXMLDOMDocument
So I guess, your code is ok. When the call was successful, the resulting document should be in IDoc.
#webMethods#API-Management#webMethods-Tamino-XML-Server-APIs