I wrote the following base64 class. http://www.kbcafe.com/articles/base64.html I hope it help.
Second, you should be able to send the document unencoded. I successfully did this with MSSOAP2 (client and server). I haven't tried this w/ Apache SOAP. Randy Charles Morin Author of Programming Windows Services http://www.kbcafe.com/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chris Malley Sent: Thursday, December 20, 2001 10:03 AM To: soap-user Subject: Base64 encoding I have a set of SOAP services that send XML documents as parameters and responses. Since these XML documents will be enbedded in SOAP documents, I'm Base64 (aka, MIME) encoding them. I'm using the Apache SOAP Base64 class to do the encoding/decoding on the server. My problem is on the client side. My client is implemented in C++ using Microsoft SOAP v2, and I'm having trouble finding something similar to handle base64 for the client. I'm fairly new to Windows development, so the answer may be staring me in the face. Any pointers? Second question: Is this encoding really necessary, or could I just send the embedded documents unencoded? Sorry to ask this on the Apache SOAP list, but I haven't gotten anywhere on the Microsoft lists. Thanks, -Chris -- Chris Malley PixelZoom, Inc. Voice: +1.303.494.8849 835 Orman Drive EMail: [EMAIL PROTECTED] Boulder CO 80303-2616
