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 » Strange -- Failed to navigate to path element number '3' bec

Post new topic  Reply to topic
 Strange -- Failed to navigate to path element number '3' bec « View previous topic :: View next topic » 
Author Message
madi
PostPosted: Fri Sep 12, 2008 7:39 am    Post subject: Strange -- Failed to navigate to path element number '3' bec Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

im not able to figure this one out

this is the trace before compute

Code:
  (0x01000000):XMLNSC     = (
    (0x01000400):XmlDeclaration                                                    = (
      (0x03000100):Version  = '1.0'
      (0x03000100):Encoding = 'UTF-8'
    )
    (0x01000000)http://www.siebel.com/xml/ListofJCIPeopleSoftPayroll:SiebelMessage = (
      (0x03000102):xmlns                                                                            = 'http://www.siebel.com/xml/ListofJCIPeopleSoftPayroll'
      (0x03000100):MessageId                                                                        = ''
      (0x03000100):MessageType                                                                      = ''
      (0x03000100):IntObjectName                                                                    = 'JCI IO PeopleSoft Payroll'
      (0x03000100):IntObjectFormat                                                                  = ''
      (0x01000000)http://www.siebel.com/xml/ListofJCIPeopleSoftPayroll:ListOfJciIoPeoplesoftPayroll = (
        (0x01000000)http://www.siebel.com/xml/ListofJCIPeopleSoftPayroll:Employee = (
          (0x03000000)http://www.siebel.com/xml/ListofJCIPeopleSoftPayroll:EmpNumber       = '11122777'


this is my code int eh compute:

Code:
DECLARE ns1 NAMESPACE 'http:/www.siebel.com/xml/ListofJCIPeopleSoftPayroll';
SET OutputRoot.XMLNSC.Root.Data = CARDINALITY(InputRoot.XMLNSC.ns1:SiebelMessage.ns1:ListOfJciIoPeoplesoftPayroll.ns1:Employee[]);      


and finally here is my error

Code:
''SET OutputRoot.XMLNSC.Root.Data = CARDINALITY(InputRoot.XMLNSC.ns1:SiebelMessage.ns1:ListOfJciIoPeoplesoftPayroll.ns1:Employee[ ]);'' at ('.FusionBatch_PayrollTimesheet.Main', '10.3').
2008-09-12 10:03:24.078752    14876   UserTrace   BIP2543I: Node 'FusionBatch.PayrollTimesheet': ('.FusionBatch_PayrollTimesheet.Main', '10.49') : Failed to navigate to path element number '3' because it does not exist.
2008-09-12 10:03:24.078781    14876   UserTrace   BIP2539I: Node 'FusionBatch.PayrollTimesheet': Evaluating expression ''InputRoot.XMLNSC.ns1:SiebelMessage.ns1:ListOfJciIoPeoplesoftPayroll.ns1:Employee[ ]'' at ('.FusionBatch_PayrollTimesheet.Main', '10.49'). This resolved to ''InputRoot.XMLNSC.http:/www.siebel.com/xml/ListofJCIPeopleSoftPayroll:SiebelMessage.http:/www.siebel.com/xml/ListofJCIPeopleSoftPayroll:ListOfJciIoPeoplesoftPayroll.http:/www.siebel.com/xml/ListofJCIPeopleSoftPayroll:Employee[]''. The result was ''EMPTY LIST''.


the strange thing is I have the same code in another flow i created for testing and it works fine there and it can find the field there!!

and i cannot find anything different between the flows

plz help

--madi
_________________
IBM Certified Solutions Developer - WMB 6.0
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Sep 12, 2008 7:53 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Code:
DECLARE ns1 NAMESPACE 'http://www.siebel.com/xml/ListofJCIPeopleSoftPayroll';
                            ^
Missing /
Back to top
View user's profile Send private message
madi
PostPosted: Fri Sep 12, 2008 7:58 am    Post subject: Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

oh wow

that should brighten my day

thanks dude!!

--madi
_________________
IBM Certified Solutions Developer - WMB 6.0
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 » Strange -- Failed to navigate to path element number '3' bec
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.