James Black wrote:
Barry Lulas wrote:I realize this is an Axis user group, but I wanted to pick your brains on a related issue.I have a generic web service that I deploy via Axis. The web service takes in an XML file as a request and returns an XML file as a response. My question is what is the best way to pass XML data to/from a web service? Should I simply use strings? Any advise would be appreciated...Pass the xml file as a byte array, else you will have problems with the xml wrapper that soap uses. The byte array is base64 encoded, so it is a safe way to send it around. Also, you may want to zip the byte array before sending the xml file, to help cut down on size.