Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web service problems
Message
From
16/02/2004 14:23:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
Web service problems
Miscellaneous
Thread ID:
00877726
Message ID:
00877726
Views:
47
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
Map
View

Click here to load this message in the networking platform