* Message.cs, MessageBufferImpl.cs, MessageImpl.cs: preserve and
output attributes prefixes, to copy Body/@wsu:Id to successfully
verify the xmldsig.
svn path=/trunk/mcs/; revision=160142
* MessageHeader.cs : to clone raw xml completely, avoid using
ReadOuterXml() and text reader but use XmlNodeReader instaed.
* Message.cs : avoid extraneous xmlns:u attribute.
svn path=/trunk/mcs/; revision=160120
* MessageImpl.cs : When XmlReaderMessage was writing its contents,
it was dropping body attributes, including wsu:Id for WS-Security.
svn path=/trunk/mcs/; revision=160105
* ChannelFactoryBase.cs : null via uri parameter is not allowed.
* ClientRuntimeChannel.cs : give non-null Via uri.
* HttpTransportBindingElementTest.cs : add test for
ChannelFactoryBase`1.CreateChannel() with null via uri.
svn path=/trunk/mcs/; revision=159934
* HttpStandaloneReplyChannel.cs, HttpChannelListenerEntry.cs,
HttpContextInfo.cs, HttpListenerManager.cs,
HttpStandaloneRequestContext.cs, HttpListenerManagerTable.cs:
Fixed wsdl support in the new codebase, so enabled it again, and
made significant changes for ASP.NET integration. Now ASP.NET
implementation switched to the new one.
* SvcHttpHandler.cs : add required code for new ASP.NET HTTP stack.
Support for new and old stack (both) are temporarily enabled.
* HttpTransportBindingElement.cs : switch to new ASP.NET stack.
svn path=/trunk/mcs/; revision=159907
* HttpStandaloneReplyChannel.cs, HttpStandaloneRequestContext.cs:
add more code that the asp.net stuff will become like.
* SvcHttpHandlerFactory.cs : remove unused code.
* SvcHttpHandler.cs : ditto. Add some code for what new asp.net
support will look like.
svn path=/trunk/mcs/; revision=159818
* Message.cs, MessageImpl.cs, MessageBufferImpl.cs : remove BodyId.
XML attributes on s:Body are handled appropriately, not limited to
wsu:Id. Added several required overrides to Message and
MessageBuffer implementation classes.
* SecureMessageGenerator.cs : so, don't use BodyId. Treat it as a
specific case but still fallback.
svn path=/trunk/mcs/; revision=159800
* HttpTransportBindingElement.cs :
Use new HTTP channel listener implementation.
* ChannelDispatcher.cs : enable service throttling again.
This time Http(Listener), ASP.NET and TCP listeners all work.
* System.ServiceModel.dll.sources :
add new HTTP channel listener implementation sources.
Old sources will be kept for a while, won't entirely vanish as
ASP.NET support will live there.
svn path=/trunk/mcs/; revision=159491
* ServiceMetadataExtension.cs : Reduced not a few lines of code,
now that we know wsdl and help do not have to be differentiated,
this extension support can be a lot simpler.
* HttpListenerManager.cs :
No need to get messed around MetadataPublishingInfo anymore.
svn path=/trunk/mcs/; revision=159411
* HttpListenerManager.cs : remove extra different code paths for
channel dispatchers with or without mex endpoints.
svn path=/trunk/mcs/; revision=159410
* ServiceBehaviorAttribute.cs : do not overwrite existing properties
which may have been set by preceding behaviors. Fix WSDL output.
* EnvelopeVersion.cs : fix name and namespace for None property.
* HttpListenerManager.cs : add some comments.
* DispatchRuntimeTest.cs : add another line of assertion.
svn path=/trunk/mcs/; revision=159313
* TcpReplyChannel.cs : accept TCP channel on ReceiveRequest(). This
fixes standalone tcp-transport/sample[svc|cli]5.exe test in olive
(but not TcpTransportBindingElementTest.SimpleDuplexStreamed.)
* TcpTransportBindingElementTest.cs : add connection tests (imported
from standalone olive tests), one is disabled for breakage.
svn path=/trunk/mcs/; revision=158924
* TcpDuplexSessionChannel.cs, TcpReplyChannel.cs : do not set RelatesTo
here. If the contract is not one-way (IsOneWay = false) and there is
a callback, the callback message sent to the client should *not* be
assigned RelatesTo header here. Just do it in the request-reply
context. Do it in OperationInvokerHandler.
* OperationInvokerHandler.cs : assign RelatesTo header item here.
svn path=/trunk/mcs/; revision=157950
* HttpChannelListener.cs : do not accept more than one channel at a
time. Remove extra fields. Add CancelAsync() implementation.
svn path=/trunk/mcs/; revision=157659
* HttpListenerManager.cs : add a workaround for Func<>.BeginInvoke()
problem that blocked ASP.NET channels working.
svn path=/trunk/mcs/; revision=157658
empty message and return that.
Note: the ws-mc protocol defines that the service returns an
200 response with an empty body on first connection, this
adds support for that (fixes part of #599667)
svn path=/trunk/mcs/; revision=157525
* DuplexChannelBase.cs
ReplyChannelBase.cs
TcpChannelListener.cs
ChannelListenerBase_1.cs
PeerChannelListener.cs
HttpChannelListener.cs
NamedPipeChannelListener.cs:
do the same for channel listener,reply channels and
duplex channels.
svn path=/trunk/mcs/; revision=157368
* ChannelFactoryBase.cs, RequestChannelBase.cs : support
MessageVersion in GetProperty<T>() for many transport channels.
svn path=/trunk/mcs/; revision=157367
* HttpChannelFactory.cs
TcpChannelFactory.cs
ChannelFactoryBase.cs
NamedPipeChannelFactory.cs
PeerChannelFactory.cs
RequestChannelBase.cs : commonize MessageEncoder.
(Commented out GetPrpoerty<T>() for MessageVersion as it is
in doubt yet.)
svn path=/trunk/mcs/; revision=157366
* MessageImpl.cs : do not use maxBufferSize for initialSize argument
for MessageHeaders. Fix OutOfMemoryException for certain usage.
svn path=/trunk/mcs/; revision=157363