Also John when you say that you have plublished the web service we are talking in the same machine right?
also the Unknown COM Status message appears right away after the call or it take about 30 seconds to give the error.
>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