Posted: Mon May 03, 2004 11:16 pm Post subject: ActivityImplInvokeResponse Error - IMP
Acolyte
Joined: 18 Jan 2004 Posts: 52
We have our Workflow sending an ActivityImplInvoke request .
In case of any error we are sending the following XML back:
However workflow send back an XML not well formed Error.
Can anyone let me know what the problem is??
SET OutputRoot.XML.(XML.XmlDecl).(XML.Version) = '1.0';
SET OutputRoot.XML.(XML.XmlDecl).(XML."Encoding") = 'UTF-8';
SET OutputRoot.XML.(XML.XmlDecl).(XML.Standalone) = 'yes';
SET OutputRoot.XML.WfMessage.WfMessageHeader.ResponseRequired = 'Yes';
SET OutputRoot.XML.WfMessage.ActivityImplInvokeResponse.ActImplCorrelID ='RU123';
SET OutputRoot.XML.WfMessage.ActivityImplInvokeResponse.ProgramRC = '1';
SET OutputRoot.XML.WfMessage.ActivityImplInvokeResponse.Exception.MessageText=InputRoot.XML.Exception.UserTxt;
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
I think it would be better if you post the actual XML you are sending, not just this code.
I am not 100% certain, but I think you are missing the ProgramOutputData which I believe is required. Here is the sample Response message from the Programming guide
Like Jmac said post the actual XML message that you are putting to WF.
Do this: In your OutPut node, instead of writing the output message to EXEXMLINPUTQ, write the message to a different temporary Queue. Get the message from that Queue and post it here. It will give the detail information on whats wrong with that message.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum