Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing a WebService with an Object as a parameter
Message
From
30/03/2004 15:47:07
 
 
To
30/03/2004 12:21:10
Scott Butts
Ims Specialty Services
Twin Falls, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00890875
Message ID:
00890966
Views:
25
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform