Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String to base64Binary?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01415121
Message ID:
01415125
Vues:
52
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform