Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing paramters to a web service
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00799631
Message ID:
00799649
Vues:
22
>I am getting an error when I try to pass a parameter to a method in an OLEPUBLIC class used as a web service. The error code is:
>
> "OLE error code: 0x80070057 The parameter is incorrect."
>
>The WS class method is simple:
>
>Procedure testparm
>
> Parameters cInStr
>
> Local cThisStr
>
> cThisStr = cInStr + " passed OK"
>
> Return cThisStr
>
>Endproc
>
>The call in the client code is:
>
>? x.testparm('Hello')
>
>This should be a no-brainer. I imagine there is some arcane MS voodoo I am missing here (like an IIS setting deep in the bowels of some configuration page such as "allow parameters to be passed without bombing" ), but I can't seem to find it out.

I don't think there is a problem with your Web Service. However, I would regenerate the WSDL file as it seems offset as per what it should give.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform