Using JAXp in the Message Driven Beans:
Approaches used:
1.)In the handleTextRequest() of the base MDB, we get the XML request as a
string.
2.) I converted the string request into array of bytes and then converted these bytes into input stream. This input stream is then converted to inputsource type.
3.)I then passed this inputSource object to DocumentBuilder�s parse(). This was supposed to give me a document object which is nothing but a pointer kind of thing to the xml nodes.
4.)Instead, what I got was a SAXException saying that �Processing instruction is not valid�
Please help me to find out what's wrong.
Kinda urgent...
Thanks in advance
~raul