* Message.cs : (in CreateBufferedCopy) do not pass the entire
message as BodyWriter.
(in GetReaderAtBodyContents) just write body contents.
* MessageImpl.cs : do not try to read body at ctor (fixed tons
of test failures).
Add some state check in GetReaderAtBodyContents().
* XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
svn path=/trunk/mcs/; revision=128186
* ClientRuntimeChannel.cs, ClientProxyGenerator.cs,
ClientBase.cs, ChannelFactory_1.cs, DuplexClientBase.cs:
now ClientBase<TChannel>.InnerChannel became ChannelBase<T> as
SL2 does. This change required several internal changes in
proxy code generation. Also, now TChannel must be class.
svn path=/trunk/mcs/; revision=128056
* ServiceContractGenerator.cs : ClientBase<> argument type must be
class (the class itself is to be fixed soon as well).
svn path=/trunk/mcs/; revision=128055
* ChannelFactory_1.cs : it's not going to create ClientRuntime
anymore here. Moving to ServiceEndpoint.cs as the first stage.
* ClientBase.cs : some comment.
* ServiceEndpoint.cs : moved CreateRuntime() from ChannelFactory<T>.
svn path=/trunk/mcs/; revision=127531
* ChannelFactory.cs : for default constructor, first try to
retrieve configuration from its contract name.
Diagnose errorneous configuration.
* SilverlightClientConfigLoader.cs : basicHttpBinding/binding
element could be defined two or more times.
svn path=/trunk/mcs/; revision=126830
* ClientProxyGenerator.cs : so, the proxy generator was buggy to
generate end invoke.
* ClientBase.cs : make it simpler and just work.
svn path=/trunk/mcs/; revision=126693
* ClientRuntimeChannel.cs, ClientBase.cs :
implement remaining ChannelBase members and made some required
changes in ClientRuntimeChannel.
svn path=/trunk/mcs/; revision=126017
* MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't
* exist in Silverlight.
Rewrite to avoid usage of it.
svn path=/trunk/mcs/; revision=124204
* BasicHttpBinding.cs: In silverlight ReaderQuota is immutable and always
has a default value of ReaderQuota.Max. Therefore no need to call CopyTo.
svn path=/trunk/mcs/; revision=124203
* SilverlightClientConfigLoader.cs : in Silverlight, there is
"ServiceReference.ClientConfig" which is used to resolve service
endpoint configuration. It is to consume that file.
* ChannelFactory.cs : use above in SL.
* ClientBase.cs : rename some misleading param names.
* net_2_1_raw_System.ServiceModel.dll.sources :
added SilverlightClientConfigLoader.cs.
svn path=/trunk/mcs/; revision=124191
* DataContractSerializerMessageContractImporter.cs :
for such an element that does not contain schema type but has a
type reference, use ImportSchemaType().
svn path=/trunk/mcs/; revision=124167
* DataContractSerializerMessageContractImporter.cs :
some refactoring. Process all schemas, including those in WSDLs.
svn path=/trunk/mcs/; revision=124026
* ClientProxyGenerator.cs : fix reflection-based GetConstructor()
so that it can work in 2.1 profile (.ctor is made internal).
* CodeModule.cs : use DefineDynamicModule() which is avaiable in 2.1.
svn path=/trunk/mcs/; revision=123773
* ClientBase.cs, ClientRuntimeChannel.cs : added support for
interactive channel initializers.
* ClientBase_InteractiveChannelInitializerTest.cs : new test, for
IInteractiveChannelInitializers support in ClientBase<T>.
* System.ServiceModel_test.dll.sources :
added ClientBase_InteractiveChannelInitializerTest.cs.
svn path=/trunk/mcs/; revision=123316
* net_2_1_raw_System.ServiceModel.dll.sources : add OperationContext
and OperationContextScope to 2.1 build.
* OperationContext.cs : changes to include this in net_2_1_raw.
svn path=/trunk/mcs/; revision=122632