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 » ParserException while converting C structure to XML

Post new topic  Reply to topic
 ParserException while converting C structure to XML « View previous topic :: View next topic » 
Author Message
keerthikumar
PostPosted: Tue May 16, 2006 9:31 pm    Post subject: ParserException while converting C structure to XML Reply with quote

Novice

Joined: 23 Nov 2005
Posts: 13

hello

I have created a message set in for the C structure.
I have created another message set for the XML message format

I am using mapping node to convert from C structure to XML message format.

Input is MRM -domain and CWF format

I am getting parserException

ExceptionList
RecoverableException
ParserException
File = F:\\build\\S000_P\\src\\cpi\\pwf\\cwf\\cwfcontext.cpp
Line = 322
Function = CContext::CheckDefaultValue
Type =
Name =
Label =
Catalog = BIPv600
Severity = 3
Number = 5344
Text = CWF Logical Tree - Message Definition Mismatch

how should I proceed ??

thanks and regards
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Tue May 16, 2006 9:35 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi keerthikumar,


Quote:
I have created a message set in for the C structure.

What do u mean by this...Have u created a CWF message definition for this.

What are the two messages that ur mapping in the mapping node.

Regards.
Back to top
View user's profile Send private message Send e-mail
keerthikumar
PostPosted: Tue May 16, 2006 9:47 pm    Post subject: Reply with quote

Novice

Joined: 23 Nov 2005
Posts: 13

I have created a CWF message definition and XML message definition
I am mapping CWF message with XML message in the mapping node.

a few of the entries of message are

CWF ---------------------------------------------------------- XML
custdetails ................................................................. CUSTDETAILS
firstname----------------------------------------------------------FIRSTNAME
lastname(xsd:string)---------------------------LASTNAME(xsd:string)

thanks
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Tue May 16, 2006 10:32 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi keerthikumar,
Quote:
CWF Logical Tree - Message Definition Mismatch


What is the message definition name for the CWF and XML messages....have u selected and mapped that..

Regards.
Back to top
View user's profile Send private message Send e-mail
keerthikumar
PostPosted: Wed May 17, 2006 12:28 am    Post subject: Reply with quote

Novice

Joined: 23 Nov 2005
Posts: 13

sCustomerDetails is the name of the CWF message format

CUSTOMER_DETAILS is the name of the XML message format

I imported the C header file which contained the structure details and created a message definition file from which i got sCustomerDetails

I created the message set project and created a message set of the type XML and then created a message set called CUSTOMER_DETAILS

In the debug perspective i tried to know the error and found that it was throwing a parser Exception
Back to top
View user's profile Send private message
sirsi
PostPosted: Wed May 17, 2006 11:20 am    Post subject: Reply with quote

Disciple

Joined: 11 Mar 2005
Posts: 177

there is a mismatch between your input message and the CWF message set. Compare whether the input message matches with your input message set ( CWF).
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu May 18, 2006 2:08 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Important fact: BIP5344 is never issued when parsing a CWF message. It is only ever issued when writing a CWF message.
You claim that you are converting from CWF to XML. Please explain.
Back to top
View user's profile Send private message
dilse
PostPosted: Thu May 18, 2006 1:39 pm    Post subject: Reply with quote

Master

Joined: 24 Jun 2004
Posts: 270

Check to see your Application Log in the Event Viewer.Most of the times it will give you the field name that message is mismatching with. Otherwise turn the trace on to check what happening after you put a message.
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 » WebSphere Message Broker (ACE) Support » ParserException while converting C structure to XML
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.