Can I send XML document as parameter in xml-rpc

2009-09-03 Thread Petersen, Jennifer
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

Re: Can I send XML document as parameter in xml-rpc

2009-09-03 Thread Jochen Wiedmann
On Thu, Sep 3, 2009 at 5:08 PM, Petersen, Jenniferjennifer.peter...@cbsa-asfc.gc.ca wrote: I am anticipating we could have some problems with the xml messages as it will result in an XML document embedded in another... Apart from the resulting document size: No, there should not be any

Re: Can I send XML document as parameter in xml-rpc

2009-09-03 Thread Jochen Wiedmann
On Thu, Sep 3, 2009 at 6:25 PM, Thomas Gaertnergaer...@tu-cottbus.de wrote: Encoding would be indeed a good idea. I'd gzip the doc and then send it as Base64 encoded data. That way you can also save a bit bandwidth. No need to do so, unless the document is really large. And in that case, it