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 » MRM-XML Mapping Error ! Urgent Help Required

Post new topic  Reply to topic
 MRM-XML Mapping Error ! Urgent Help Required « View previous topic :: View next topic » 
Author Message
Deepak Batra
PostPosted: Fri Apr 05, 2002 3:44 am    Post subject: Reply with quote

Apprentice

Joined: 25 Feb 2002
Posts: 31

Hi

I had defined the Message in Message sets which are as follows :-

TestMsg-->Personellmsg--->name
Here testMsg is name of Message set
Personellmsg is name of message
name is the one string element of size 10
The MQInput Node in my wokflow is configured as :
In the Default Tab the fields are
Message Domain : MRM
Message set : dgm4qlop
MessageType :razz:ersonellmsg(identifier of message )
Message Format : XML

While passing XML Message to MQInput Node of MQSI :
<MRM><personellmsg><name>john</name></personellmsg></MRM>
throws an error in NT Event viewer :

1. ( ITIL_BR.default ) No valid body of the document could be found.

There should be one, and only one, top level element of type element or EmptyElement and this is not the case for the current message.

Check that the XML message being passed in is a well formed XML message that adheres to the XML specification and that only one of the above exists as a child of the root.

I had tried by reordering XML format but still i am facing same error.
can anyone suggest what's going wrong .

Thanks in advance .

Deepak


Back to top
View user's profile Send private message
kirani
PostPosted: Fri Apr 05, 2002 8:41 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

What version of WMQI are you using? Try sending this input message,
<name>john</name>
Back to top
View user's profile Send private message Visit poster's website
Deepak Batra
PostPosted: Sun Apr 07, 2002 8:08 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Feb 2002
Posts: 31

Hi Kirani

I tried sending the message <name>john</name> it did'nt worked out.I am using MQSI 2.0.2 version.

The error message which i got while sending XML message is :

1. ( ITIL_BR.default ) No valid body of the document could be found.
There should be one, and only one, top level element of type element or EmptyElement and this is not the case for the current message.
Check that the XML message being passed in is a well formed XML message that adheres to the XML specification and that only one of the above exists as a child of the root.

I there any other way by which i can check out exactly where seems to be the problem in message sets .

Thanks
Deepak



Back to top
View user's profile Send private message
Miriam Kaestner
PostPosted: Mon Apr 08, 2002 11:54 am    Post subject: Reply with quote

Centurion

Joined: 26 Jun 2001
Posts: 103
Location: IBM IT Education Services, Germany

The best way to test an MRM definition is NOT to send an input message in that format (parsing errors are difficult to find). Do it the other way round:
MQInput (any message - will not be used anyway)
Compute (select MRM message as output format and fill in each field with some test value)
MQOutput

This should always work and give you a message in the output queue. Compare this with the data you wanted to model - and you will find out if your MRM definitions need corrections!
Back to top
View user's profile Send private message Send e-mail
Deepak Batra
PostPosted: Wed Apr 10, 2002 9:12 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Feb 2002
Posts: 31

In the compute node of my workflow i am using
SET "OutputRoot"."MRM"."name" = 'X';
and had define the message set name .

I had tried working on that always it gave me the error messages like

( ITIL_BR.default ) Invalid Wire format 'MRM'.
When processing an MRM message the broker requires a valid wire format indicator. Expected XML, PDF or Custom Wire Format prefix and got 'MRM'.
Check that you have packaged the message correctly and set the correct message properties then resubmit the message.
I had implemented the solution told by u like

Is there any thing else i am missing .

Thanks
Deepak
Back to top
View user's profile Send private message
kwelch
PostPosted: Thu Apr 11, 2002 5:12 am    Post subject: Reply with quote

Master

Joined: 16 May 2001
Posts: 255

Did you set the OutputRoot.MessageFormat.Properties = 'XML' ?

Good Luck,

Karen
Back to top
View user's profile Send private message Send e-mail
Deepak Batra
PostPosted: Fri Apr 12, 2002 3:48 am    Post subject: Reply with quote

Apprentice

Joined: 25 Feb 2002
Posts: 31

Hi Karen

Yes i did that also .

Deepak


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 » MRM-XML Mapping Error ! Urgent Help Required
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.