Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using web service
Message
De
05/11/2020 07:52:16
 
 
À
05/11/2020 05:48:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
01676303
Message ID:
01677037
Vues:
75
>I finally got username and password. Tried your example and coudn't compile in vfp6. Is there some easiest way to get result from wsdl? Something like
>
>o = createobject("MSSoap.SoapClient30")
>o.mssoapinit("https://webapp2.rzzo.rs/rzzo/RzzoService?wsdl")
>
>How to pass username and password to wsdl? When I execute mssoapinit, an error appears about (among other lines :-( ) loading of the wsdl failed.
>
>I'm still with zero success in web services area :-).

Zoran,

To port this to VFP6:

a) remove the " AS ..." part of all LOCAL declarations (that is, LOCAL SOAP AS String becomes LOCAL SOAP, and so on)

b) replace the line
TEXT TO m.SOAP FLAGS 1 TEXTMERGE
with
SET TEXTMERGE TO "SoapCall.xml"

TEXT
c) replace the line
ENDTEXT
with
ENDTEXT

SET TEXTMERGE TO

m.SOAP = FILETOSTR("SoapCall.xml")
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform