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 » Special character to handle period in the input hiercharchy

Post new topic  Reply to topic
 Special character to handle period in the input hiercharchy « View previous topic :: View next topic » 
Author Message
venugp
PostPosted: Sun Sep 22, 2002 6:50 am    Post subject: Special character to handle period in the input hiercharchy Reply with quote

Apprentice

Joined: 03 Sep 2002
Posts: 31

Hi,
My input is coming from ARIBA, it converts MQSI xml into objects using ARIBA adapter, i have to give the output message from MQSI like this
SET OutputRoot.XML."Honda_PeopleSoft.ariba.common.core.Supplier".DataArea."ariba.common.core.Supplier"."ariba.common.core.SupplierLocation"[tot_rec].PSLocationId = 'N';

When i try to execute my message flow i am getting error in inerpreting the '.' in "ariba.common.core.Supplier", is there any way i can handle this and make the broke to take it as one segment "ariba.common.core.Supplier".
I am not sure whether i can handle this with by casting some special character or any thing wrkong i am doing.
Please help me some body.
Thanks,
venu.
Back to top
View user's profile Send private message
kirani
PostPosted: Sun Sep 22, 2002 9:27 am    Post subject: Reply with quote

Jedi Knight

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

I don't see any problem in your ESQL code,
What type of Exception it is throwing while executing the Message flow? Could you print the ExceptionList here?
_________________
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
venugp
PostPosted: Sun Sep 22, 2002 12:05 pm    Post subject: Reply with quote

Apprentice

Joined: 03 Sep 2002
Posts: 31

I have xml tags names with "." in between i,e
<HondaPeoplesoft.ariba.core.HondaComCntl> & <ariba.core.HondaComCntl>

When I am trying to assign this input message to output i,e

SET "OutputRoot"."XML"."COMMIT_CNTRL_TRAN_CHECK_UPDATE"."MsgData"."Transaction"."COMCNTL_TRN_HDR"."BUSINESS_UNIT" =
"InputRoot"."XML"."Honda_Peoplesoft.ariba.core.HondaComCntl"."DATAAREA"."ariba.core.HondaComCntl"."HondaComCntlHdrBusUnit";

I am getting an exception

"Failed to navigate to path element.
The specified path element did not exist. "

I think WMQI is assuming "." as one child.

Please help me with this and can u explain me about dynamic refernece to the fields. And also I want to give the input tags with "." values.
Back to top
View user's profile Send private message
kirani
PostPosted: Sun Sep 22, 2002 1:07 pm    Post subject: Reply with quote

Jedi Knight

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

Venu,

venugp wrote:

I am getting an exception

"Failed to navigate to path element.
The specified path element did not exist. "


This is not an exception!! WMQI is not able to navigate to path element. This could be because of mismatch in element names/hierarchy.
To debug further, attach a trace node after MQInput node and Print {$Root} in it. Write the trace output to some file and post the contents here (use [code] tags to pist your trace output).
If you have "." char in tag names, you can embed the tag name into "", this should solve your problem.

For dynamic reference .. please refer to topic Navigating a message tree anonymously using dynamic references in Chapter 2 of ESQL Reference manual.
_________________
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 » Special character to handle period in the input hiercharchy
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.