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 » problem with sample plugin parser

Post new topic  Reply to topic
 problem with sample plugin parser « View previous topic :: View next topic » 
Author Message
cronydude
PostPosted: Mon Nov 19, 2001 1:52 am    Post subject: Reply with quote

Voyager

Joined: 11 Nov 2001
Posts: 85
Location: US

hi,
when i tried to parse XML content using the BipSampPluginParser.lil(sample plugin parser supplied by IBM along with MQSI 2.0.1),i am not able to retrieve the text in between the tags.

For example,

If the input messsage is

<Reciept><StoreDetails><StoreName>Foodworld</StoreName></StoreDetails></Reciept>

My message flow is

InputNode----->ComputeNode---->OutputNode

The ESQL script in compute Node is

SET OutputRoot.XML.Test.Name = InputBody.Reciept.StoreDetails.StoreName;

(with copy message headers only option)

The output which i got in the output node is:
<Test><Name/></Test> indicating that no value is retrieved from the input message.Expected output is:
<Test><Name>FoodWorld</Name></Test>

I would be greatfull to get any replies from the people who worked on plugin parsers.

regards
crony

Back to top
View user's profile Send private message
hutulas
PostPosted: Mon Nov 19, 2001 5:39 am    Post subject: Reply with quote

Newbie

Joined: 18 Nov 2001
Posts: 5

Try using the following statement:

SET OutputRoot.XML.Test.Name = InputRoot.XML.Reciept.StoreDetails.StoreName;

Hope this helps

Scott H.

Back to top
View user's profile Send private message
cronydude
PostPosted: Mon Nov 19, 2001 9:41 pm    Post subject: Reply with quote

Voyager

Joined: 11 Nov 2001
Posts: 85
Location: US

Hi Scott,

Thanks for the suggestion.
But this syntax gives the same output without value.
Instead of
SET OutputRoot.XML.Test.Name = InputRoot.XML.Reciept.StoreDetails.StoreName;
I tried with
SET OutputRoot.XML.Test.Name = InputRoot.PXML.Reciept.StoreDetails.StoreName; B'cas Message Domain for the plugin we are trying is PXML.

Regards
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 » problem with sample plugin parser
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.