Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String to base64Binary?
Message
General information
Forum:
Visual FoxPro
Category:
Web Services
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01415121
Message ID:
01415125
Views:
59
base64Binary is not type Q, it's type C . Check function STRCONV() and second parameter - values 13 and 14.
lcFileData=FILETOSTR("anyfile.zip")
lcB64=STRCONV(lcFileData,13)
?LEFT(lcB64,100)
MartinaJ


>Gang,
>
>I'm trying to call a web service that requires me to pass the contents of a zipped XML file as base64Binary. I think that they type of a base64Binary in VFP is "Q".
>
>I retrieve the contents of the file and compress it so that I have a string TYPE() = "C". Now, how do I get it into base64Binary "Q" so that the web service can accept it?
>
>Thanks in advance for any suggestions!
>
>Steve
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform