General information
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only