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 » Extracting dat from input XML file

Post new topic  Reply to topic
 Extracting dat from input XML file « View previous topic :: View next topic » 
Author Message
Sreedevi
PostPosted: Mon Oct 08, 2007 1:13 am    Post subject: Extracting dat from input XML file Reply with quote

Newbie

Joined: 25 Sep 2007
Posts: 3
Location: Bangalore

Im having an XML document which I have to validate.



<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<!DOCTYPE XML_BOPOCMQ>

<WfMessage>
<WfMessageHeader>
<ResponseRequired>Yes</ResponseRequired>
<UserContext>This data is sent back in the response</UserContext>

</WfMessageHeader>
<ProcessTemplateCreateAndStartInstance>
<ProcTemplName>Loan</ProcTemplName>
<ProcInstName>Loan</ProcInstName>
<KeepName>true</KeepName>
<ProcInstInputData>
<CustomerDetails>
<Name></Name>
<DateofBirth>12/05/1958</DateofBirth>
<Age>23</Age>
<Gender>Female</Gender>
</CustomerDetails>
</ProcInstInputData>
</ProcessTemplateCreateAndStartInstance>
</WfMessage>

I need to parse this XML through MQ workflow and validate it.

If the Name is a null value, a message should be sent to an error queue.

Can anyone please assist me on how to do this . It would be helpful if someone could tell me of which APIs to use while extracting and what is the configuration of the UPES for this.
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Mon Oct 08, 2007 6:24 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

WMQWF does not do this, You will have to write your own code to parse the message.
_________________
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
Sreedevi
PostPosted: Wed Oct 10, 2007 12:08 am    Post subject: Reply with quote

Newbie

Joined: 25 Sep 2007
Posts: 3
Location: Bangalore

Does this mean that when an XML document containing the necessary processing data is put in the XML input queue, it is not possible to route the process depending on one of the fields in the input XML ?
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Wed Oct 10, 2007 5:34 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Not sure I understand your question, and I am not sure you understand the basic processing of MQWF. I believe the answer to your question is no. By the time the XML is put on the queue, the routing has already occurred.
_________________
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
hos
PostPosted: Tue Oct 16, 2007 3:04 am    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

Hi,

the XML message that you are referring to has nothing to do with UPES.
It is a message to the MQWF execution server to create and start a process instance. You'll need to validate and act upon the content of this message before putting it onto the xml input queue.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue Oct 16, 2007 3:16 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi

What integration component that you are using to transform the messages.

MQWF cant able to transform the data

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
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 » Extracting dat from input XML file
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.