ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » ActivityImplInvokeResponse Error - IMP

Post new topic  Reply to topic
 ActivityImplInvokeResponse Error - IMP « View previous topic :: View next topic » 
Author Message
kt76
PostPosted: Mon May 03, 2004 11:16 pm    Post subject: ActivityImplInvokeResponse Error - IMP Reply with quote

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;
Back to top
View user's profile Send private message
jmac
PostPosted: Tue May 04, 2004 5:19 am    Post subject: Reply with quote

Jedi Knight

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

<WfMessage>
<WfMessageHeader>
<ResponseRequired>No</ResponseRequired>
</WfMessageHeader>
<ActivityImplInvokeResponse>
<ActImplCorrelID>FFABCEDF0123456789FF</ActImplCorrelID>
<ProgramRC>0</ProgramRC>
<ProgramOutputData>
<CreditData>
<Customer>
<Name>User1</Name>
</Customer>
<Amount>1000</Amount>
<Currency>CurrencyX</Currency>
<Risk>low</Risk>
</CreditData>
</ProgramOutputData>

</ActivityImplInvokeResponse>
</WfMessage>
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
CHF
PostPosted: Tue May 04, 2004 6:27 am    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

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.

CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » ActivityImplInvokeResponse Error - IMP
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.