Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connecting to Webservice
Message
From
26/11/2007 08:03:38
 
 
To
22/11/2007 12:32:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01270514
Message ID:
01271199
Views:
18
Hi Bernard,

Thanks for all the great info. this is a .NET from what I can tell. I see a file with the extension (.asmx). The webservice should be on my computer, because that is the server that I am working with at this time. After I am more sure of what I am doing, I will connect to another server with the webservice and data to work with it there. The team that built the webservice made an install, to put the SQL Server data and the webservice onto mine or anyone's server computer to use. Hope that makes sense.

Hope you are having a good summer down there. :)
Beth

>>Hi All,
>>
>>I am trying to connect to a webservice from vfp9sp1. The programmer for the SQL Server db that I am connection to showed me how to connect to the webservice from vb2003, and gave me an install to put the database on my sql server. But I am not sure about the webservice. How can I even tell if the webservice is on my computer now?
>
>The web service is never on your computer at any time. All you are doing is connecting to it, calling its methods and using it's return data, usually XML.
>The webservice will always be on the server it was installed on.
>
>>
>>I tryed to do the wizard in vfp for webservices, but it only sees the WDSL webservice, none other.
>
>You have not mentioned whether this is a .NET (asmx) web service. If it is, and this works for all, add ?WSDL after the webservice in the wizard.
>
>The easiest way is to use the VFP TASK PANE - From the menu TOOLS|Task Pane. Once the pane opens, select the XML Web Services tab, and then click "Register a Web Service. In the box that appears enter your webservice address and the taskpane will register the service. If this is an ASMX service then type
>
>http://www.mywevservice.address.com/servicename.asmx?WSDL
>
>Note that you cannot use this interface for a service with complex objects. However once the service is registered, you can select a method and VFP will generate template code for you to copy and use in your own program, where you can build the objects easily for transmission.
>
>Bernard
Previous
Reply
Map
View

Click here to load this message in the networking platform