Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web service or ASP?
Message
From
14/12/2001 11:35:20
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
14/12/2001 11:02:13
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00589377
Message ID:
00594474
Views:
42
Does IUSER have access to the directory where the dll is registed?

>Hi Alexandre,
>This is the VFP code which I copied straight from the Microsoft example. I put this prg, called myWServ1.prg into a project called myWServ1, then built myWServ1.dll, then published the web service. Would you like to see the generated code in the myWServ1, DataService, FileService WSDL and WSML files?
>
>*-- returns curdir() and number of JPEG files
>
>DEFINE CLASS showem AS session OLEPUBLIC
>
> Name = "showem"
>
> PROCEDURE justshow
> howmany=ADIR(afilArry,"*.jpg")
> IF howmany <1
> fileNm="no"
> ELSE
> fileNm=ALLTRIM(STR(howmany))
> ENDIF
>
> X = "about " + CURDIR() + " ... "
> Y = "There are " + fileNm + " JPEG files here."
> RETURN x + y
>ENDPROC
>ENDDEFINE
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform