Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Soap. unspecified error and web service

Status
Not open for further replies.

flintstone42

Programmer
Aug 7, 2001
52
US
I am trying to access to web service in VFP useing the
follwing code:

oProxy = CREATEOBJECT("MSSOAP.SoapClient")
oProxy.MSSoapInit("
On a Windows XP machine (with .net framework installed)
I get "Unspecified error" when run the first time.
If I rerun the program a second time it works.

On a Windows 98 and Millenium machine (with .net framework installed)
I get "Unspecified error" ever time I run this on a 98 or millenim.

I get the same problem if I use
loWS = NEWOBJECT("Wsclient",HOME()+"ffc\_webservices.vcx")
loWS.cWSName = "ebaypricewatcher"
oProxy = loWS.SetupClient(" "eBayWatcherService", "eBayWatcherPort")

It does not seem to matter which web service or method I use

Any Ideas?
 
What version and service pack level of VFP are you using? What version of SOAP do you have installed on the machines in question?

Rick
 
I have am using VFP 7.0 SP1,
The version of Soap (and I have tried all of the ones below)
soap toolkit 2.0
soap toolkit 3.0
.net framework version 1.1 redist

As per Microsoft, soap toolkit has been retired on 7/1/2003,
In favor of .net framework (which has been installed).
 
I don't know what to tell you. I just tried those two lines on my XP Pro system, and they work just fine in both 7.0 SP1 and 8.0 SP1. I'm using Soap 3.0 - version 3.0.1325.0 (C:\Program Files\Common Files\MSSoap\Binaries\MSSOAP30.dll)

Have you got any possible firewall or proxy server problems?

Rick
 
No,
Do you have .net framework installed on your XP?

If I cannot access the website (or wsdl) file
I get a different error (WSDL not found...)

I can get it working on XP (the second time it is run)
So I do not think it is a proxy or firewall problem.)

But all of my clients are 98/Me machines and I need it
working there

Any Ideas?
 
Currently this system has the original .NET framework (VS .NET 7.0). No ideas right now - I hope someone else jumps in.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top