Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing a WebService with an Object as a parameter
Message
De
05/04/2004 11:06:28
Scott Butts
Ims Specialty Services
Twin Falls, Idaho, États-Unis
 
 
À
30/03/2004 15:47:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00890875
Message ID:
00892279
Vues:
18
Thanks for the input. I think I am finally starting to get this. Would you suggest using the WestWind classes to do the soap call or using the class built into Foxpro? Working with the class built into Foxpro seems to be a lot easier, I Love the builder for a quick test.


Thanks,

Scott

>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform