Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Defining a class type
Message
From
09/07/2003 09:34:55
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
Defining a class type
Miscellaneous
Thread ID:
00808455
Message ID:
00808455
Views:
43
It looks like when defining a web service, the class has to be a Session type.

However, can my main web service class include a class library that was defined as CUSTOM?

For example, can my web service be defined like this:
DEFINE CLASS myservice AS Session OLEPUBLIC

***This class [MyOtherClass] was defined in another PRG as:
***DEFINE CLASS MyOtherClass AS CUSTOM
ADD OBJECT MyOtherClass AS MyOtherClass WITH ;
name = "MyOtherClass"

PROCEDURE myproc

ENDPROC

ENDDEFINE

Should something like this work?

Thanks,

Jerry
Reply
Map
View

Click here to load this message in the networking platform