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 » Error in XML msg flow

Post new topic  Reply to topic
 Error in XML msg flow « View previous topic :: View next topic » 
Author Message
laddha
PostPosted: Mon Apr 21, 2003 3:00 am    Post subject: Error in XML msg flow Reply with quote

Apprentice

Joined: 20 Mar 2003
Posts: 27

Hi All.
I had created a MQInput, Compute and MQOutput node.

In compute node I had:
ESQL:
SET OutputRoot.XML."Name" = InputRoot.XML."MyName";

I HAD SET copy msg header radio button.

I am sending following XML by using MQSEries explorer GUI.
<?xml version="1.0"?><MyName>Pras</MyName>

I am getting following error seen in event viewer:
MQSI_SAMPLE_BROKER.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 am not putting msg correctly in queue.

Let me know where I am wrong ASAP.

Waiting for Responses.
-Prasanna
Back to top
View user's profile Send private message
yaakovd
PostPosted: Mon Apr 21, 2003 4:35 am    Post subject: Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

The output message wath generated with NULL body.
You have 2 possible problems.

1. In input node message domain is not defined as XML (other option is using reset content descriptor node)

2. InputRoot.XML."MyName" field is not exist in input message
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
Back to top
View user's profile Send private message Send e-mail
RamVijayawada
PostPosted: Tue Apr 22, 2003 12:22 pm    Post subject: Reply with quote

Novice

Joined: 22 Apr 2003
Posts: 15

What is the message domain u specified in the MQInputNode.. probably that is the reason, No need of ResetContentDescriptor coz u r not changing the domain...
Back to top
View user's profile Send private message
laddha
PostPosted: Tue Apr 22, 2003 7:18 pm    Post subject: MQSI XML Msg flow error Reply with quote

Apprentice

Joined: 20 Mar 2003
Posts: 27

Hi All,
Thanks.
After giving domain as XML I got the flow working.

But, In MQSI docs. it is said that we dont have to specify domain.

Thanks again.
-Prasanna
Back to top
View user's profile Send private message
kirani
PostPosted: Tue Apr 22, 2003 8:35 pm    Post subject: Reply with quote

Jedi Knight

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

MQSI will read message as BLOB If you don't specify any domain in your MQInput node.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
yaakovd
PostPosted: Wed Apr 23, 2003 2:34 am    Post subject: Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

Kiran,

It is right, but when you want to parse the message, you must to specify message Domain.

That is my understanding - may be MQSI think else
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Wed Apr 23, 2003 5:26 am    Post subject: Reply with quote

Jedi Knight

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

Yakoov,
Your understanding is correct!!
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message 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 » Error in XML msg flow
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.