Problem 1: I have XML that purports to conform to a message from some service model. How could I validate it?
Problem 2: I'd like to re-figure-out how to acquire a stream-like API for a local: endpoint. I want to mock up a Javascript object in Rhino that acts like the object we'll use in real browsers to transact over HTTP. So, the back side of it should stuff messages into the local transport and return whatever comes back. Can anyone give me a boost toward this? I did it long ago in XFire, and I don't recall how.
