Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing a WebService with an Object as a parameter
Message
De
30/03/2004 15:47:07
 
 
À
30/03/2004 12:21:10
Scott Butts
Ims Specialty Services
Twin Falls, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00890875
Message ID:
00890966
Vues:
24
Hi Scott,

I would take an XML string as a parameter, rather than an object, and that way I could pass the object serialized to the Web Service. Take a look at www.west-wind.com, and look for the wwXML class. There's a method that will take an object and serialize it to XML, and another method that will take an XML string and turn it to back to an object.



>Is it possilbe to pass an object as a parameter to a webservice? Originally the webservice that I am trying to access had so many parameters that it exceded Foxpro's limit. The call was changed to use an object so that there will not be that many parameters. The problem is I don't know how to pass an object as a parameter.
>I currently am just doing a createobject('empty') and using addproperty() to add the various properties to the object then makeing the call with the object as a parameter. What am I doing wrong here? Is this even possible in Foxpro? Any help would be appriciated.
Claudio Lassala
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform