XML Soap Request coming in as a org.apache.xerces.dom.DeferredDocumentImpl Java Object
Posted on 2006-03-25
I'm using ColdFusion as a webservice implementation tool and am getting the request argument as an xml object.
I can view the entire soap request, but all I really want is the xml document object that is suppose to be passed to me. Unfortunately for my limited brain, The document isn't coming to me as a coldfusion XML object, it is classified as an object and is of class
Now, coldfusion, for those who don't know, now runs on java and I have access to the methods, etc of the underlying java class.
I can parse out the relevant data when I call the webservice because I'm passing a nice clean xml structure. Unfortunately, the partner who is sending me the real requests, is sending me an object that has MultiRef statements in it and the XML is all disjoint. I can't seem to use xpath on it because the path structure doesn't really have the nodes I need, they are referenced elsewhere and called in.
I'm a NOOB at all this so I'm not having a fun time (well, not as fun a time as I'd like).
Can anyone help me understand how I can take this
object with multiRef elements in it and get to to reconstitute as a fully realized xml string that resolves the multiRef in a manner that I can apply xpath to it?