Author |
Message
|
keerthikumar |
Posted: Tue May 16, 2006 9:31 pm Post subject: ParserException while converting C structure to XML |
|
|
 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 |
|
 |
elvis_gn |
Posted: Tue May 16, 2006 9:35 pm Post subject: |
|
|
 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 |
|
 |
keerthikumar |
Posted: Tue May 16, 2006 9:47 pm Post subject: |
|
|
 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 |
|
 |
elvis_gn |
Posted: Tue May 16, 2006 10:32 pm Post subject: |
|
|
 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 |
|
 |
keerthikumar |
Posted: Wed May 17, 2006 12:28 am Post subject: |
|
|
 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 |
|
 |
sirsi |
Posted: Wed May 17, 2006 11:20 am Post subject: |
|
|
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 |
|
 |
kimbert |
Posted: Thu May 18, 2006 2:08 am Post subject: |
|
|
 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 |
|
 |
dilse |
Posted: Thu May 18, 2006 1:39 pm Post subject: |
|
|
 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 |
|
 |
|