>>>I'm using ASP.NET/VB to call a Visual Foxpro web service...I can pass it
>
>I just realized your service was written in VFP. You can try to find a library or algorithm to encode/decode base64 or convert it to .NET.
STRCONV() will do the Base64 conversion...
However, it's not as quite as easy as that. The SOAP Toolkit supports binary returns via Byte ARrays. With VFP you have to hack the WSDL file to return a BinHex result. Then from VFP you have to return the file with RETURN CREATEBINARY(FILETOSTR(
)) which will correctly return the file content in binary format.