Before I build a stripped down copy of my code I thought I would ask..
I'm writing a tool to query status of some video conferencing equipment. It's using REST protocol and all that is working fine. The problem come in when I'm trying to parse the returned information. It's in .xml format so I'm attempting to use the "parse" method.
The sequence is as follows.
1. Query the device and get the xml returned. (all good)
2. Use parse to find a "link" element that points to sub information (all good)
3. Using a different (J1) httpjob (in separate sub) query for the "link" information
4. Using "Wait for" ...
5. When I step after the wait, I goes to the FIRST query parser_StartElement when it should go to the J1 parser_StartElement.
Of course, it misses the information at that point and what is returned in the Parser_startelement is all nulls.
What is crazy is, when (in the same code) it queries the second device, the code works correctly.
I'm guessing it's an initialization issue but not sure how to debug it more.
Any help would be greatly appreciated.
Cheers,
Gary Miyakawa
I'm writing a tool to query status of some video conferencing equipment. It's using REST protocol and all that is working fine. The problem come in when I'm trying to parse the returned information. It's in .xml format so I'm attempting to use the "parse" method.
The sequence is as follows.
1. Query the device and get the xml returned. (all good)
2. Use parse to find a "link" element that points to sub information (all good)
3. Using a different (J1) httpjob (in separate sub) query for the "link" information
4. Using "Wait for" ...
5. When I step after the wait, I goes to the FIRST query parser_StartElement when it should go to the J1 parser_StartElement.
Of course, it misses the information at that point and what is returned in the Parser_startelement is all nulls.
What is crazy is, when (in the same code) it queries the second device, the code works correctly.
I'm guessing it's an initialization issue but not sure how to debug it more.
Any help would be greatly appreciated.
Cheers,
Gary Miyakawa