Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web service problems
Message
De
16/02/2004 14:23:16
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
Web service problems
Divers
Thread ID:
00877726
Message ID:
00877726
Vues:
48
I am testing the following code. I built the dll and published it as a web service but it just returns blank. I have modifield the class to be olepublic and this works when I create an object using this class from the command window. Is there something I am missing or do not understand.


DEFINE CLASS crypt as Session OLEPUBLIC

FUNCTION callencrypt

LOCAL lcEncryptedValue

SET CLASSLIB TO _crypt.vcx

oCrypt=CREATEOBJECT("_cryptapi")

lcEncryptedValue=""

oCrypt.EncryptSessionStreamString("just some text","sunday",@lcEncryptedValue)

RELEASE oCrypt

RETURN lcEncryptedValue

ENDFUNC


ENDDEFINE
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform