Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web service problems
Message
From
28/02/2004 21:16:54
 
 
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00877726
Message ID:
00881841
Views:
17
>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

Temporary, can you try to avoid using the oCrypt object and simply just return a "test" string? That would tell you if your Web Service is working ok. If that is working, then it'd be related to the oCrypt object across the Web Service. If not, then, it'd be something global.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform