Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-02-12Since NET_2_1 implies NET_4_* now, take this into account and simplify our ↵Rodrigo Kumpera
ifdefs.
2013-02-11Kill the MOONLIGHT define in System.ServiceModel.Web.Rodrigo Kumpera
2011-10-25Fix NET_2_1 builds.Atsushi Eno
2011-10-16Apply patch from Mario Kosmiskaso fix bug 1209: Patch to correctly expose ↵Miguel de Icaza
WebOperationContext.IncomingResponse There was apparently no point in the call flow when the reponse message was set in the context, resulting in WebOperationContext.IncomingResponse always being null. After patching WebMessageFormatter to set the response in the context (if available) the value of WebOperationContext.IncomingResponse was still null. A bit more investigation showed that IncomingWebResponseContext would construct a HttpResponseMessageProperty encapsulating the OperationContext at the time the request was made but before the response was received and cache that object. That caused the HttpResponseMessageProperty to always have a null value for the response. The second part of the patch changes this behavior and always creates a new HttpResponseMessageProperty on GET.
2011-08-25Revert GET switch for serializing requests. BodyWriter handles it better.Atsushi Eno
2011-08-25for GET request, just skip the member. It does not contain xml for null.Atsushi Eno
2011-08-24Skip serialization when the return type is void.Atsushi Eno
This batch should fix bug #206.
2011-08-24Differentiate GET query parameter binding from another request binding.Atsushi Eno
This is one core of the bugfix for #206.
2011-08-23UriTemplate should not be mandatory, make it optional. Fix unit test.Atsushi Eno
2011-06-28Implement support for Stream param with WebHttpBinding raw content format.Atsushi Eno
2011-06-13Fix 2.0 build.Atsushi Eno
2011-06-13Implement OnWriteBodyContents() and add message buffer support for RawMessage.Atsushi Eno
2011-04-15Return null for empty message in WebMessageFormatter. Useful eror messages.Atsushi Eno
2011-01-20Read body content if required. Fixed all issues in bug #656020.Atsushi Eno
Now it considers message content format and IsWrapped[Request|Response] to retrieve XmlObjectSerializer.
2011-01-19Serialize non-mapped message parameter as body content. Part of bug #656020 fix.Atsushi Eno
2010-10-15Clean up few more warningsMarek Safar
2010-07-142010-07-14 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* WebMessageEncoder.cs : support Raw message in ReadMessage() too. Allow null content type. * WebMessageFormatter.cs : do not depend on WebOperationContext. add support for Raw format request. * WebMessageEncodingBindingElementTest.cs : add test for null content type for ReadMessage() (allowed), * WebHttpBehaviorTest.cs : add test for deserializing Raw request message too. svn path=/trunk/mcs/; revision=160377
2010-07-142010-07-14 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* WebMessageFormatter.cs : add support for Raw format. * WebMessageEncoder.cs : support Raw message. Fixed bug #619542. * WebHttpBehaviorTest.cs : add test for bug #619542 (not sure if it works on mono; run-test is broken in trunk. Verified under .NET). svn path=/trunk/mcs/; revision=160341
2010-07-062010-07-06 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* DataContractJsonSerializer_2_1.cs : add extra methods for Sys.SM.Web.Extensions build. * WebMessageFormatter.cs : add NET_2_1 profile build. * AssemblyInfo.cs : InternalVisibleTo System.ServiceModel.Web.Extensions. svn path=/trunk/mcs/; revision=159943
2010-03-16use MOONLIGHT symbolJb Evain
svn path=/trunk/mcs/; revision=153653
2009-10-23add experimental monotouch build.Atsushi Eno
svn path=/trunk/mcs/; revision=144701
2009-10-082009-10-08 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* DataContractJsonSerializer.cs, JsonSerializationWriter.cs: alwaysEmitTypeInformation is false by default. It is for __type attribute, not for type attribute. __type name is always with ":#". * TypeMap.cs : sort members in default typemap (it is ordered). Uncomment EmitDefaultValue. * JsonWriter.cs : handle "null" string (it is somewhat messy). * WebMessageEncoder.cs : use alwaysEmitTypeInformation to output object __type. * DataContractJsonSerializerTest.cs : added test for alwaysEmitTypeInformation argument. svn path=/trunk/mcs/; revision=143748
2009-10-082009-10-08 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* JsonQueryStringConverter.cs : add custom body name support (used. for AJAX). Handle string value (in very LAMESPEC way). * WebMessageFormatter.cs : add custom body name support. Slightly changed reply serialization. Convert deserialized values using QueryStringConverter. * WebScriptEnablingBehavior.cs : use JsonQueryStringConverter, with "d" wrapper name. Allow only WrappedRequest. * JsonQueryStringConverterTest.cs : added some string deserialization test. It just proved .NET is too lame. svn path=/trunk/mcs/; revision=143747
2009-10-072009-10-07 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* WebMessageFormatter.cs : revert and fix wrapper name change. XML and JSON have different serialization. svn path=/trunk/mcs/; revision=143697
2009-10-072009-10-07 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* WebMessageFormatter.cs : also fix wrapped message deserialization. It should expect FooResponse (body WrapperName), not FooResult (ReturnValue part Name). svn path=/trunk/mcs/; revision=143694
2009-10-072009-10-07 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* WebMessageFormatter.cs : when they serialize Wrapped message, it first writes "root" and then the wrapper element. svn path=/trunk/mcs/; revision=143689
2009-10-072009-10-07 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* WebMessageFormatter.cs : JSON writer does not support namespace. svn path=/trunk/mcs/; revision=143635
2009-09-022009-09-02 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* WebMessageFormatter.cs : it was not returning value with correct wrapper name/namespace. Fix interop with .NET client. svn path=/trunk/mcs/; revision=141121
2009-09-022009-09-02 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* WebMessageFormatter.cs : Made the same prohibition for dispatch formatters too. Support WebMessageBodyStyle on dispatcher side too. svn path=/trunk/mcs/; revision=141117
2009-09-022009-09-02 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* WebHttpBehavior.cs : now message formatters are pairs of request/ reply formatters. * WebMessageFormatter.cs : override some serialization methods as prohibited. * WebHttpBehaviorTest.cs : some message formatters tests. svn path=/trunk/mcs/; revision=141112
2009-09-022009-09-02 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* WebHttpDispatchOperationSelector.cs : use common extension method. * WebMessageFormatter.cs : support WebMessageBodyStyle(.Wrapped*). Cache serializers. svn path=/trunk/mcs/; revision=141102
2009-07-282009-07-28 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* OutgoingWebRequestContext.cs : implement. * WebMessageFormatter.cs : apply OutgoingRequest if available. svn path=/trunk/mcs/; revision=138782
2008-08-21move to from olive to mcsJb Evain
svn path=/trunk/mcs/; revision=111188