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
Titre:
Passing paramters to a web service
Divers
Thread ID:
00799631
Message ID:
00799631
Vues:
52
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.

What gives?

Thanks,

-Steve
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform