OO Operations vs. Scriptlet for parsing XML responses
I have OO 10.10 and I have run into an interesting situation.
I am trying to build out a flow that will call HP UCMDB for a TQL View and parse the results to take action on the CIs returned in the view.
I have tried several ways of processing the XML results I get from HP UCMDB but my concern is this.
If I use a combination of the XML parsing operations, the JSON container operations, and Flow Variable Manipulation operations that are provided by OO it takes several hours to parse a TQL that contains ~100 servers and their IP Addresses just to get a CSV style list that will allow me to send the IP Addresses on for a PING status check.
If however I write a scriptlet that will parse the XML results I can end up with the same CSV style list in just a few seconds.
What is it about the operations that make the processing time take so much longer?
Re: OO Operations vs. Scriptlet for parsing XML responses
I am an Operations Orchestration Support representative, so regarding your request I have found some information, please take a look:
In the document http://support.openview.hp.com/selfsolve/document/KM01159522 (OO10.10_Base_CP1.2.1_ReleaseNotes.pdf (page 14))
> Modify operation "Validate XML Document" to support XML namespaces When using the Validate XML Document operation under Utility Operations/XML Processing) with XML documents that contain XML Namespace tags (xmlns), errors are produced. These same XML files have been checked against the schema using other XML parsing tools and no errors were produced.
OO10.10_WebServices_Wizard.pdf (page 31) http://support.openview.hp.com/selfsolve/document/KM00996962
In addition to inputs, the parsing obtains results that can be captured as operation outputs (which are expressed as results in steps). Any arrays in the XML are extracted as a single XML result from which the flow author can extract narrow subsets.
PS: I have attached the documents .pdf
I hope this information help you, but if not, don't hesitate to let me know and I will continue with my researches.
If you find this or any post useful to resolve the issue, please mark this thread as correct answer and other members can benefit with the information given
SW Support Technical Consultant
San Jose, Costa Rica
Hewlett Packard Enterprise “