Writing my thoughts on this thread has been good therapy. I have been stuck on this for half a day, and I have my answer.
I save the soapRequestData and soapResponseData objects as Strings by doing a savePipelineToFile.
I created a copy of my custom processor and restored the pipeline from file. From there, I do a getBody and queryXMLNode. The result of my query, a String, is then transformed to an XML node using xmlStringToXMLNode. I do a second query that allows me to query the data starting with the second XML processing instruction.
I believe Mark Carlson has posted something similar in the past, but I couldn’t apply the ideas until the proverbial lightbulb went on.
I hope this helps somebody one day.
#API-Management#soa#webMethods