Hi Steve I assume the request does send the object. Up to now I have been doing the client in C# so this is an attempt in VFP. I'm using the code from the web service in task manager and getting a record is fine. Now I want to send it back. So how do I get the object I need to fill. Note I am sending a record not receiving in this case. Al
-----Original Message----- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of Stephen Russell Sent: 14 August 2012 15:40 To: profoxt...@leafe.com Subject: Re: VFP9 web service call On Tue, Aug 14, 2012 at 7:34 AM, Allen <pro...@gatwicksoftware.com> wrote: > Hi Foxgang. > I have a web service made using VS2010 C#. It has a class that's used > for a SQL data record. > Ok, call the web service to get a record is fine. The class appears as > an object and item(number).text gets the record data. > All works fine. > Now I want to send data back to the service. I add a property as an > object to the code (not a form property) but it remains as .F. and not an object. > Anyone know how to make a var into an object to add text items? I > thought maybe a collection in the object. ------------------ That property should be there in the object you receive from the service, not one you create. You instantiate the service. You request the record. Request the loader object that it expects for the new or updated data. Send the data back Receive confirmation on accepted or failed. -- Stephen Russell Sr. Analyst Ring Container Technology Oakland TN 901.246-0159 cell [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/002301cd7a28$c4664690$4d32d3b0$@com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.