Information générale
Titre:
Web service problems
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement