I have a service that allows clients to send messages as Strings over MQ. For a synchronous request-reply service we are thinking of using xml-rpc. We would like to use this api as it maps into the same path as the MQ messages:
Service.submit(String message) The message itself is either of xml document, csv, edi, etc...our system inspects the incoming message to determine its type and locates appropriate parser. I am anticipating we could have some problems with the xml messages as it will result in an XML document embedded in another... Our xml schema doesn't use CDATA so not worried about the CDATA in a CDATA problem... Wondering if there will be other gotchas if we send a String in a CDATA tag. Looking for any better suggestions on how to do this? (Note that we are trying to avoiding DOM as we have already found it too be too resource intensive for our system) Any suggestions/recommendations are appreciated. Encode the xml maybe?