Sure.  All you need to do is base64 encode the Word doc and mark the return
datatype as xsl:base64binary.  I am doing this in reverse where I create a
PDF within Java and return is to a SOAP Toolkit 2.0 client.  Use the
org.apache.soap.encoding.soapenc.Base64 class for decoding the base64 binary
data.
--

David B. Bitton
[EMAIL PROTECTED]
www.codenoevil.com

Code Made Fresh Daily�
----- Original Message -----
From: "Rory Braybrook (DSLAK)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 18, 2002 6:17 PM
Subject: MS Word document using SOAP


> Can the object returned from a SOAP call be a MS Word document ?
>
> I am thinking of sending some parameters to a "document generator" (which
> uses Word) which populates the document and then returns it. The client is
> Java. The server is MS.
>
> How would I do this ? Would I have to encode to something like Base64 ?
>
> Any pointers or hints would be appreciated.
>
> Thanks
>
>

Reply via email to