Consultor Eletrônico



Kbase P116848: Error 5890 when calling ProcessRequest method in QuickBooks using ActiveX Automation
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   20/06/2006
Status: Unverified

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x

SYMPTOM(s):

Using ActiveX Automation to interact with QuickBooks

ProcessRequest method fails with error 5890

Error occurred while accessing component property/method: ProcessRequest. QuickBooks found an error when parsing the provided XML text stream. Error code: 0x80020009 ... (5890)

CAUSE:

The QuickBooks documentation does not make it clear the the XML file being passed to the ProcessRequest method must be an actual string containing XML and not the name of a file which contains the XML.

FIX:

Modify the application code to read the XML data into a CHARACTER or LONGCHAR variable and pass that variable to the ProcessRequest method.