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 » WebSphere Message Broker (ACE) Support » MQInput Node Taking the incoming XML File as CWF

Post new topic  Reply to topic
 MQInput Node Taking the incoming XML File as CWF « View previous topic :: View next topic » 
Author Message
sri_csee1983
PostPosted: Sun Apr 06, 2008 8:21 pm    Post subject: MQInput Node Taking the incoming XML File as CWF Reply with quote

Centurion

Joined: 25 Mar 2008
Posts: 125
Location: Chennai,India

Dear Friends,

I am developing a Response Flow in which The Input Node should take the XML as an Input and convert that into a CWF Message. So I have created the Message definition file from the XSD and given the Input node defualt properties as Follows.

Message Domain --> MRM
Message Set --> <Message Set Name with ID from the drop down>
Message Type --> Proper name that is found in the messages of the message definition file
Message Format --> XML1

When I get an XML file which is validated corresponding to the XSD file, from the MQinput Node itself I am getting CWF Worker Error, stating "Message ID not in CWF file".

Why my MQInput Node is treating the incoming message as a CWF file?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Gaya3
PostPosted: Sun Apr 06, 2008 9:07 pm    Post subject: Reply with quote

Jedi

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

I am doubting about your message set file def:


Please verify that once again, how you created which format you have taken to build it up


Regards
gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
sri_csee1983
PostPosted: Sun Apr 06, 2008 9:34 pm    Post subject: Reply with quote

Centurion

Joined: 25 Mar 2008
Posts: 125
Location: Chennai,India

Hi gayathri,

While creating the message set, I selected only two physical properties. CWF and XML. I have also checked whether I have selected CWF as my default wired format, No nothing is selected in the default wired format. Whether we can specify the format while building (Project Build). If so please let me know how to specify the format while we build.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Gaya3
PostPosted: Sun Apr 06, 2008 9:47 pm    Post subject: Reply with quote

Jedi

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

sri_csee1983 wrote:
Hi gayathri,

While creating the message set, I selected only two physical properties. CWF and XML. I have also checked whether I have selected CWF as my default wired format, No nothing is selected in the default wired format. Whether we can specify the format while building (Project Build). If so please let me know how to specify the format while we build.


I'm still doubting about your message set model.


http://mqseries.net/phpBB2/viewtopic.php?p=125961&highlight=&sid=95f0ae388bd379a616bee0960d5ae662

most of the resolving techiniques are in the above link

Regards

gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
sri_csee1983
PostPosted: Sun Apr 06, 2008 11:12 pm    Post subject: Reply with quote

Centurion

Joined: 25 Mar 2008
Posts: 125
Location: Chennai,India

Dear Gayathri,

I created a new message set project and referenced my msg flow prj and the changed the default MQInput nodes accordingly. Now following is the exception from the MQ Input node.

EL: (
(0x01000000):RecoverableException = (
(0x03000000):File = 'F:\build\S500_P\src\DataFlowEngine\ImbTraceNode.cpp'
(0x03000000):Line = 349
(0x03000000):Function = 'ImbTraceNode::evaluate'
(0x03000000):Type = 'ComIbmTraceNode'
(0x03000000):Name = 'FeeInqRspMsgFlw#FCMComposite_1_3'
(0x03000000):Label = 'FeeInqRspMsgFlw.Trace1'
(0x03000000):Text = 'Caught exception and rethrowing'
(0x03000000):Catalog = 'BIPv500'
(0x03000000):Severity = 3
(0x03000000):Number = 2230
(0x01000000):ParserException = (
(0x03000000):File = 'F:\build\S500_P\src\MTI\MTIforBroker\MtiImbParser2\MtiImbParser.cpp'
(0x03000000):Line = 353
(0x03000000):Function = 'MtiImbParser::parseFirstChild'
(0x03000000):Type = 'ComIbmMQInputNode'
(0x03000000):Name = 'FeeInqRspMsgFlw#FCMComposite_1_1'
(0x03000000):Label = 'FeeInqRspMsgFlw.MQInput'
(0x03000000):Text = 'ImbRecoverableException caught from worker->parseFirst.'
(0x03000000):Catalog = 'BIPv500'
(0x03000000):Severity = 3
(0x03000000):Number = 5285
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'FeeInqRspMsgSet'
)
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '1'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'XML1'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'FeeInqRsp'
)
(0x01000000):ParserException = (
(0x03000000):File = 'F:\build\S500_P\src\cpi\pwf\xml\xmlhandler.cpp'
(0x03000000):Line = 982
(0x03000000):Function = 'XMLHandler::error'
(0x03000000):Type = ''
(0x03000000):Name = ''
(0x03000000):Label = ''
(0x03000000):Text = 'XMLHandler::error reported from the Xerces parser'
(0x03000000):Catalog = 'BIPv500'
(0x03000000):Severity = 3
(0x03000000):Number = 5117
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '205'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'Null pointer'
)
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '1'
)
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '15'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'Expected quoted string'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'Null pointer'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = ''
)
)
)
)
)
LE:
ENV:
ROOT: (
(0x01000000):Properties = (
(0x03000000):MessageSet = 'CF4EQ9K002001'
(0x03000000):MessageType = 'FeeInqRsp'
(0x03000000):MessageFormat = 'XML1'
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 1200
(0x03000000):Transactional = TRUE
(0x03000000):Persistence = TRUE
(0x03000000):CreationTime = GMTTIMESTAMP '2008-04-07 07:11:59.560'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
)
(0x01000000):MQMD = (
(0x03000000):SourceQueue = 'SENTQUE'
(0x03000000):Transactional = TRUE
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 1200
(0x03000000):Format = ' '
(0x03000000):Version = 2
(0x03000000):Report = 0
(0x03000000):MsgType = 8
(0x03000000):Expiry = -1
(0x03000000):Feedback = 0
(0x03000000):Priority = 0
(0x03000000):Persistence = 1
(0x03000000):MsgId = X'414d5120514d31202020202020202020db72f94720001b03'
(0x03000000):CorrelId = X'000000000000000000000000000000000000000000000000'
(0x03000000):BackoutCount = 0
(0x03000000):ReplyToQ = ' '
(0x03000000):ReplyToQMgr = 'QM1 '
(0x03000000):UserIdentifier = 'administrato'
(0x03000000):AccountingToken = X'16010515000000358a021afd43461e43170a32f401000000000000000000000b'
(0x03000000):ApplIdentityData = ' '
(0x03000000):PutApplType = 11
(0x03000000):PutApplName = '\workingWithCHash.vshost.exe'
(0x03000000):PutDate = DATE '2008-04-07'
(0x03000000):PutTime = GMTTIME '07:11:59.560'
(0x03000000):ApplOriginData = ' '
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000'
(0x03000000):MsgSeqNumber = 1
(0x03000000):Offset = 0
(0x03000000):MsgFlags = 0
(0x03000000):OriginalLength = -1
)
(0x01000021):MRM =
)
****************************************************************************

We had XMLValidator program based on the XML schema ie the XML which came to this msg flow is valid one. have any idea on it?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Gaya3
PostPosted: Sun Apr 06, 2008 11:17 pm    Post subject: Reply with quote

Jedi

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

sri_csee1983 wrote:

(0x03000000):Text = 'XMLHandler::error reported from the Xerces parser'
(0x03000000):Text = 'Null pointer'
(0x03000000):Text = 'Expected quoted string'
(0x03000000):Text = 'Null pointer'
(0x03000000):Text = ''


Whats this, is it a mandatory part to be sent from the Source

Please verify the system logs too

Regards
gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Apr 07, 2008 12:22 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

The first error 'Message ID not in CWF file' is saying that the Message Type property did not match any message in your message set. It might also mean that you used the wrong identifier for the 'Message Format' property ( maybe it should have been 'CWF', not 'CWF1' ? )

The second error is from the MRM XML parser. That's interesting, because it must have been parsing successfully before, or it would not have issued the CWF error. Not sure what the exact problem is, but I would do two things:
1. Ask myself why it was parsing the XML successfully before
2. Check that the XML is well-formed ( try opening it in your favourite web browser )
Back to top
View user's profile Send private message
sri_csee1983
PostPosted: Mon Apr 07, 2008 5:28 pm    Post subject: Reply with quote

Centurion

Joined: 25 Mar 2008
Posts: 125
Location: Chennai,India

Dear Kimbert and Gayathri,

It was all because of concatenation problem in XML. When the broker got the correct XML, it worked out. Again I made it with the help of this forum.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kimbert
PostPosted: Mon Apr 07, 2008 11:19 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Glad it's working.

To avoid confusion...
Quote:
It was all because of concatenation problem in XML
The XML problem was because of an error in your XML.
The CWF exception was a problem with the 'Message Type' or 'Message Format' property.
Back to top
View user's profile Send private message
sri_csee1983
PostPosted: Mon Apr 07, 2008 11:24 pm    Post subject: Reply with quote

Centurion

Joined: 25 Mar 2008
Posts: 125
Location: Chennai,India

Dear Kimbert,

Reason for CWF Exception was I didnt mention the MessageType in the ESQL.
_________________
With Cheers,
Sri
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQInput Node Taking the incoming XML File as CWF
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.