Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not Creating Object Correctly
Message
De
14/02/2005 09:13:57
 
 
À
14/02/2005 06:38:52
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
00985142
Message ID:
00986611
Vues:
42
Hi,

>>
to test using an Airport Weather web service in VFP7 and that worked fine but when I tried to do it VFP8, it registers okay but when I try to connect, I get the same error as I am getting when trying to connect to my web service
>>

Presumably you are using _webservices.vcx for VFP7 and _ws3client.vcx for VFP8 (it's not usable in 7 anyway because it implements TRY...CATCH).
Anyway that example works fine for me in VFP8.

The main difference between the two libraries is that _ws3client insists on using "MSSoap.SoapClient30" whereas the VFP7 version just specified "MSSOAP.SoapClient". Maybe worth checking the MSSOAP30.DLL is installed correctly (don't know what the current versions is but, FWIW, mine is 3.0.1325.0).

>>
Why would it register okay and show all the services in the task pane and then fail on the 'setupclient' - doesn't that do much the same as registering?
>>
VFP can set up the intellisense just from parsing the WSDL file. .SetUpClient() actually instantiates the MSSOAP class and creates a connection to the web service - that's the first 'real' test of connecting.

Regards,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform