Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Soap Init Fails when trying to access a web service
Message
From
09/08/2006 11:32:06
Scott Malinowski
Arizona Fox Software LLC
Arizona, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
Soap Init Fails when trying to access a web service
Miscellaneous
Thread ID:
01144194
Message ID:
01144194
Views:
114
Greetings ALL!

Using Rick Strahl's "Using Visual Foxpro to call .Net Web Services for Data Access" article, I as able to successfully create the fabulous Hello World web service. (http://www.vfpconversion.com/Article.aspx?quickid=030074)

I can access it fine from IE and it functions as expected.

However, when I try the code in the VFP 8 SP1, I get a message stating that the XML Parser failed because the system cannot locate the object specified.

Here's the code exactly as it is stated in the article:
o = CREATEOBJECT("MSSoap.SoapClient30")
? o.MSSoapInit("http://localhost/FoxWebServiceInterop/FoxWebServiceInterop.asmx?WSDL")
? o.HelloWorld("Scott")

The program fails on the MSSoapInit line.

Any ideas what might be causing this?
Next
Reply
Map
View

Click here to load this message in the networking platform