Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm working with a web service which has the potential to provide a response in two different formats. I have the two XSDs that describe each of the formats and I've created them as metadata, but I'm trying to find a way to fire a conditional depending on the format that comes back.
Right now, I have a tWebServiceInput component that returns a row containing a single schema column "data". That data is raw XML. It is my understanding that tFileInputXML needs a file. Would it make sense to write the raw XML to a temp file, attempt to read it with a tFileInputXML using one of the schema definitions and if that fails, try the other? Or is there a better way to pipe the initial raw XML into another type of component? Thoughts?