Age | Commit message (Collapse) | Author |
|
ifdefs.
|
|
|
|
|
|
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.
|
|
|
|
|
|
This batch should fix bug #206.
|
|
This is one core of the bugfix for #206.
|
|
|
|
|
|
|
|
|
|
|
|
Now it considers message content format and IsWrapped[Request|Response] to
retrieve XmlObjectSerializer.
|
|
|
|
|
|
* 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
|
|
* 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
|
|
* 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
|
|
svn path=/trunk/mcs/; revision=153653
|
|
svn path=/trunk/mcs/; revision=144701
|
|
* 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
|
|
* 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
|
|
* WebMessageFormatter.cs : revert and fix wrapper name change. XML
and JSON have different serialization.
svn path=/trunk/mcs/; revision=143697
|
|
* WebMessageFormatter.cs : also fix wrapped message deserialization.
It should expect FooResponse (body WrapperName), not FooResult
(ReturnValue part Name).
svn path=/trunk/mcs/; revision=143694
|
|
* WebMessageFormatter.cs : when they serialize Wrapped message, it
first writes "root" and then the wrapper element.
svn path=/trunk/mcs/; revision=143689
|
|
* WebMessageFormatter.cs : JSON writer does not support namespace.
svn path=/trunk/mcs/; revision=143635
|
|
* WebMessageFormatter.cs : it was not returning value with correct
wrapper name/namespace. Fix interop with .NET client.
svn path=/trunk/mcs/; revision=141121
|
|
* WebMessageFormatter.cs : Made the same prohibition for dispatch
formatters too. Support WebMessageBodyStyle on dispatcher side too.
svn path=/trunk/mcs/; revision=141117
|
|
* 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
|
|
* WebHttpDispatchOperationSelector.cs : use common extension method.
* WebMessageFormatter.cs : support WebMessageBodyStyle(.Wrapped*).
Cache serializers.
svn path=/trunk/mcs/; revision=141102
|
|
* OutgoingWebRequestContext.cs : implement.
* WebMessageFormatter.cs : apply OutgoingRequest if available.
svn path=/trunk/mcs/; revision=138782
|
|
svn path=/trunk/mcs/; revision=111188
|