I'm working with a web service created by VFP. The service takes 1 parameter, goes out on the net and gets some data, then returns the data. Right now I'm testing from my local machine (a W2K w/IIS 5).
Here's the intellisense generated code I'm testing with:
LOCAL o as upsrouter web service
LOCAL loWS
loWS = NEWOBJECT("Wsclient",HOME()+"ffc\_webservices.vcx")
loWS.cWSName = "upsrouter web service"
o = loWS.SetupClient("
http://BSTEELE/Webpub/upsrouter.WSDL", "upsrouter", "upsrouterSoapPort")
The next lind of code requests the work be done. For testing purposes, the results are stored in an XML file. Note: there is 1 parameter being passed:
STRTOFILE(o.crequestdata("1Z6311960366856702"),"c:\temp\response.xml")
This code works from my machine and any other W2K machine I can find (after I install MDAC 2.7, the MSSOAP toolkit, and msxml 3). However, 99% of our machines are 95/98. Microsoft makes no claims that web services will run on 95, so I'm focusing on 98 for now.
Here's the error I'm encountering:
OLE error code 0x80004005. Unspecified error.
The error appears when crequestdata() is called. It happens every time, but not from every 98 workstation.
The strange part is we managed to fix it on 1 machine by installing IE 5.0 SP 2. Since then we've tried replicating the fix on other 98 machines, but have not succeeded. The machine that did work is 98 standard, not SE.
Any suggestions for this? Anyone else dealing with the same problem?
Thanks,
Brian