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 » EDIFACT error in debuging

Post new topic  Reply to topic
 EDIFACT error in debuging « View previous topic :: View next topic » 
Author Message
wessam_sosa
PostPosted: Wed Nov 01, 2006 6:24 am    Post subject: EDIFACT error in debuging Reply with quote

Apprentice

Joined: 01 Nov 2006
Posts: 32

Quote:
i`m using WBIMB v.6,i created a message set and message flow that converts from EDIFACT to XML,i successed to deploy it in broker,but when i debug this exception appears:

ParserException
File = F:\\build\\S000_P\\src\\cpi\\pwf\\nxd\\nxdparser.cpp
Line = 155
Function = NXDParser::initializeParse
Type =
Name =
Label =
Catalog = BIPv600
Severity = 3
Number = 5424
Text = No Message Id Received

what can i do?
[/quote]
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
kimbert
PostPosted: Wed Nov 01, 2006 1:36 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
what can i do?
Set Properties.MessageType to the name of your message definition. You can do this on the Default page of the input node properties, or using an RFH2 header.
Back to top
View user's profile Send private message
wessam_sosa
PostPosted: Thu Nov 02, 2006 1:22 am    Post subject: another exception Reply with quote

Apprentice

Joined: 01 Nov 2006
Posts: 32

Thanks alot,when i did that another exception appears:

ParserException
File = F:\\build\\S000_P\\src\\MTI\\MTIforBroker\\MtiImbParser2\\MtiImbFIHandler.cpp
Line = 998
Function = MtiImbFIHandler::endMessageContent
Type =
Name =
Label =
Catalog = BIPv600
Severity = 3
Number = 5288
Text = MTI. Not all the buffer was used when reading message

I hope you reply
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
kimbert
PostPosted: Thu Nov 02, 2006 2:32 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

That's a completely different error. At least you have sorted out the first one.
To debug BIP5288, you need to gradually shorten the message until it parses successfully. The message tree will be incorrect, but at least you will be able to see what the parser has done wrong.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Nov 02, 2006 2:39 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

A trace node usually shows the last field that the parser successfully processed.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Nov 02, 2006 3:37 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

And the problem may be as simple as converting correctly the CRLF when using FTP to send the message to the broker....

We had the problem where a number of things were loaded into a DB from a file. The end of record was a CRLF. The file was ftp'd from wintel to Unix to be loaded into the DB. That part worked fine but the broker had the exact complaint you have. It means that the stream has more information than what the message definition says (especially on a CWF format).

They had to ftp the file again in text mode (ascii) to have the correct CRLF for Unix, reload it to the DB and then the text was in the right length for the broker to parse. Difference in length of the field in the DB was 1 char.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
wessam_sosa
PostPosted: Sun Nov 05, 2006 2:22 am    Post subject: i did what u said Reply with quote

Apprentice

Joined: 01 Nov 2006
Posts: 32

i shorted the message alot and the same exception appeared,i put the trace node it gave me unresolved choice,sorry for disturbing you,please give me a help,thanks alot
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
fjb_saper
PostPosted: Sun Nov 05, 2006 6:30 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Unresolved choice is a different exception.
Check out your message model. Somewhere in the definition you have a choice for the way the tree should look. Check your message against it.
Choice means you have one of the options, not none (unless having nothing underneath is one of the options), and not more than one...

Fix your message or your message model.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Tue Nov 07, 2006 2:36 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
i shorted the message alot and the same exception appeared,i put the trace node it gave me unresolved choice,sorry for disturbing you,please give me a help,thanks alot
Keep going. Shorten it some more. Keep shortening it until you get a successful parse ( you will, eventually ).

(This exception is caused by an error in your TDS message definition. The parser reaches the end of the model before it has consumed all of the bitstream. So you will need to change your model - but first, you need to find out what the problem is.)
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 » EDIFACT error in debuging
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.