Steven... Good question. You can do this with JAXM, and I would speculate that Axis may eventually support too. Cheers. Stan
----- Original Message ----- From: "Steven Gollery" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 12, 2002 10:32 AM Subject: document-style messaging and XML files > I've been working on a service that uses document-style messaging to > return an XML file as the body of the message: I parse the file into a > Document and return that as the return value of the service (I'm using > alpha 3: I know that in the nightly build I would be sending the root > element as the first element of an array of Element objects). > > This all works fine, but I'm wondering if there is some other way to do > this. I mean: the file that I am sending already exists, so it seems > like I should be able to read the file (as text) and put it directly > into the SOAP message without going through the step of parsing it into > a Document. But I can't see how to do this: it looks to me like Axis > requires that I return a Document (or an array of Element objects) in > this situation. > > Any ideas? > > Steven Gollery > [EMAIL PROTECTED] > >