Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web service or ASP?
Message
De
14/12/2001 11:35:20
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
À
14/12/2001 11:02:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00589377
Message ID:
00594474
Vues:
43
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform