Re: [Mono-dev] POSTing objects in JSON format...

2010-01-26 Thread Eduardo Segura
Thanks Atsushi, glad that sample helped. And thank you guys for the great work you are doing with mono. All the best, e- On Mon, Jan 25, 2010 at 11:25 PM, Atsushi Eno wrote: > Hello Eduardo, > > Thanks, your repro was simple enough to try :) Now I'm getting some ASP.NET > integration issue that

Re: [Mono-dev] POSTing objects in JSON format...

2010-01-25 Thread Atsushi Eno
Hello Eduardo, Thanks, your repro was simple enough to try :) Now I'm getting some ASP.NET integration issue that should be fixed. I'll see if further issues exist once I fixed the issue I faced now. It may take a while as I'm now full with other bugs, but I put your case on my stack. Atsushi

Re: [Mono-dev] POSTing objects in JSON format...

2010-01-25 Thread Atsushi Eno
Hello, Our WebHttpBinding does support json-based requests and responses. There is a lot of possibilities why you don't get json response instead of xml, and I can't give you an answer with almost no information. If you file a bug with the steps to configure and run the service, I'll have a look.

Re: [Mono-dev] POSTing objects in JSON format...

2010-01-25 Thread Steve Bjorg
I'm going to go out on the limb here and guess that under Mono it assumes the input to be always XML and doesn't look at the MIME type. The "error on line 1, position 1" in XmlTextReader seems to be a dead giveaway for that. :) - Steve -- Steve G. Bjorg http://mindtouch.com http://

[Mono-dev] POSTing objects in JSON format...

2010-01-25 Thread ed.segura
Hi, I'm wondering why this format doesn't work for mono, when it does for windows? I'm trying to send a simple post request to the service, which contains the following: {"composite":{"BoolValue":true,"StringValue":"aaa"},"composite2":{"BoolValue":true,"StringValue":"bbb"}} This works fine in