Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web service object doesn't have the methods it should
Message
De
11/05/2018 14:51:41
 
 
À
11/05/2018 06:51:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Divers
Thread ID:
01659917
Message ID:
01659937
Vues:
30
>>Hi all.
>>
>>I have a "simple" project which has to integrate a Web Service into an existing VFP 9 application. I was given the url of the WS. I registered the URL int VFP's Toolbox, and then I dragged the registered WS from the ToolBox to an empty PRG window. It created all the necessary stuff to begin programming with the ws object, intellisense even shows the methods it should have (first attached file). But when I run the PRG, the ws object gives me an error which says that the WS object doesn't have the method I tried to use in code. So I run again the prg and stop it before executing the line where I make the method call, then, in the command window I typed the WS object name followed by the dot so I let intellisense show me the methods it has, but, to my surprise I see other methods (second figure), none of them are the ones that are supposed to be.
>>
>>Has anyone dealt with this kind of problem? Any help would be appreciated.
>>
>>TIA
>
>Luis
>
>This won't be much of a help, since I don't have a recent experience on the VFP's SOAP client class (I don't even have the SOAP toolkit installed in my current machine), but I would guess that the difference in the PEM lists comes from the context given by the __VFPWSDef__ in the generated code, which may be lost in the command line.
>
>As for the Web Service consumption, you may consider to call the Web Service directly or to use an alternative client class (like West Wind Internet & Client Tools).

How should I call the Web Service directly? I'd rather use free tools since this little project's budget doesn't take into account a paid tool. Thank you.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform