|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Special character to handle period in the input hiercharchy |
« View previous topic :: View next topic » |
Author |
Message
|
venugp |
Posted: Sun Sep 22, 2002 6:50 am Post subject: Special character to handle period in the input hiercharchy |
|
|
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 |
|
 |
kirani |
Posted: Sun Sep 22, 2002 9:27 am Post subject: |
|
|
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 |
|
 |
venugp |
Posted: Sun Sep 22, 2002 12:05 pm Post subject: |
|
|
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 |
|
 |
kirani |
Posted: Sun Sep 22, 2002 1:07 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|