Hi James, Thanks for your suggestions. Previously, I've tried creating the proxies via the MT Add Web Service tool and it worked well for test services that I created but for the existing services (which have fairly complex object graphs and include data contracts with IsReference = True) it would not create the proxy giving an error that indicated that only attributes matching a certain namespace could be used (don't have access to MT right now so can't paste in the error message). I think this points to the IsReference attribute not being handled by the MT WCF stack but I wasn't certain.
When I copy in the proxies from my Silverlight project, the call hits the service but nothing returns to the MT app. -Steve On 14 July 2011 19:51, James Darbyshire <[email protected]> wrote: > > > Sent from my iPhone > > Begin forwarded message: > > *From:* Wally McClure <[email protected]> > *Date:* 15 July 2011 12:24:04 AM AEST > *To:* <[email protected]> > *Subject:* *RE: [MonoTouch] IsReference DataContract Attribute* > > IIRC, the mono wcf client in monotouch/m4a is a straight port, dare I say > copy. IsReference just might work, though, I don't know if something in iOS > might prevent it. I agree with James' suggestion to go ahead and try being > the best option. > > Wally > > > From: <[email protected]>[email protected] > > Date: Thu, 14 Jul 2011 22:56:00 +1000 > > To: <[email protected]>[email protected] > > CC: <[email protected]>[email protected] > > Subject: Re: [MonoTouch] IsReference DataContract Attribute > > > > > Hi Steve, > > > > Not tried it on mt but I have used it in mono on a server. Had fun and > > games but I did get it working. > > > > Might be easier to try it and report back. > > > > James > > > > Sent from my iPhone > > > > On 14/07/2011, at 12:38 AM, Steve Meagher <[email protected]> > wrote: > > > > > Hi, > > > > > > I have a number of existing WCF Services that use DataContracts with > the > > > IsReference attribute set to True. Does anyone know if MonoTouch > supports > > > the IsReference DataContract attribute? > > > > > > Thanks, > > > Steve > > > > > > -- > > > View this message in context: > <http://monotouch.2284126.n4.nabble.com/IsReference-DataContract-Attribute-tp3665199p3665199.html> > http://monotouch.2284126.n4.nabble.com/IsReference-DataContract-Attribute-tp3665199p3665199.html > > > Sent from the MonoTouch mailing list archive at Nabble.com. > > > _______________________________________________ > > > MonoTouch mailing list > > > <[email protected]>[email protected] > > > <http://lists.ximian.com/mailman/listinfo/monotouch> > http://lists.ximian.com/mailman/listinfo/monotouch > > _______________________________________________ > > MonoTouch mailing list > > <[email protected]>[email protected] > > <http://lists.ximian.com/mailman/listinfo/monotouch> > http://lists.ximian.com/mailman/listinfo/monotouch > > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
