Miguel de Icaza
96e0bed4c8
Fix bug 1203, relaxes the test for the protocol to allow https endpoints
2011-10-16 11:45:58 -04:00
Atsushi Eno
189da5d408
Add ProtectionTokenParameter for mutual nego. Patch by Alexander Riman.
2011-10-04 00:00:43 +09:00
Michael Stoll
114fb284e8
Fixed coding style for BasicHttpBinding and SecurityBindingElement
2011-08-02 10:23:24 +02:00
Michael Stoll
7f871ae603
Fixed the SecurityBindingElement creation of BasicHttpBinding
2011-08-01 12:23:55 +02:00
Atsushi Eno
d64d847622
Avoid possible duplicate xmlns output. Fixes xsp-based hosting somehow.
2011-07-22 14:02:48 +09:00
Atsushi Eno
e8cc6770c2
support action parameter in SOAP 1.2 content type. Close pull request #133 .
2011-07-19 02:28:59 +09:00
Atsushi Eno
6d85578013
Full equivalence comparison is unnecessary for MessageEncoder ContentType.
...
based on https://github.com/mono/mono/pull/130
2011-07-09 06:50:58 +09:00
Atsushi Eno
c657187050
Set "Encoder" property when Message was read from MessageEncoder.
2011-06-14 19:17:20 +09:00
Atsushi Eno
509f45a0ae
finally implement Message.ToString() as in expected form.
...
Regressions on this method has caused several unpredictable errors,
so I avoided this for somewhat long time...
2011-06-14 18:43:29 +09:00
Atsushi Eno
404dea03e0
Implement WsdlContractConversionContext, and ignore message importer for now.
2011-05-13 21:46:24 +09:00
Atsushi Eno
91d1860c32
Actual source directory changes after changing namespaces.
2011-04-25 15:55:22 +09:00
Atsushi Eno
9cc1f66d03
More nettcp namespace changes.
2011-04-25 15:53:17 +09:00
Atsushi Eno
3fdf3c4b87
Move NetTcp namespace to internal one.
2011-04-25 15:40:47 +09:00
Atsushi Eno
d38b8f4eb5
Empty XmlReader message caused failure on buffereed copy.
2011-04-18 17:20:22 +09:00
Atsushi Eno
0bb7a5deff
Prepare for HostNameComparisonMode support (i.e. incomplete).
...
This is for bugfix #687580 .
2011-04-16 01:05:22 +09:00
Atsushi Eno
cc60bcc264
Some argument check in TextMessageEncoder.
2011-04-15 23:48:31 +09:00
Atsushi Eno
50d748b1b6
Use correct MessageVersion instead of Default for empty response.
...
Part of bugfix #687580 .
2011-04-15 21:30:04 +09:00
Alan McGovern
b374a393db
[System.ServiceModel] return the same object reference from MessageVersion.CreateVersion
...
The Silverlight SDK assemblies rely on this behaviour as do the new tests.
2011-04-14 11:00:33 +01:00
Atsushi Eno
9d59e8ae3d
HttpRequestChannel should also return CookieContainer in NET_2_1 profile.
...
Fixed bug #683642 .
2011-04-07 12:31:40 +09:00
Atsushi Eno
4dbd74fae5
fix wrong attempt to add restricted headers in HttpRequestChannel.
2011-04-02 11:28:19 +09:00
Atsushi Eno
cd100616f4
Less !NET_2_1/!MOONLIGHT to improve SL4 WCF compatibility.
2011-04-01 20:39:33 +09:00
Rolf Bjarne Kvinge
30443d63dd
System.ServiceModel: make it a lot more compatible with Silverlight
2011-03-31 16:01:22 +02:00
Atsushi Eno
2c5b44c743
Remove unexpected CWL.
2011-03-22 15:33:48 +09:00
Atsushi Eno
962ea0c543
net.tcp Sized message with non-binarysession encoding should work now.
...
(Untested checkin.)
2011-03-17 20:04:12 +09:00
Atsushi Eno
05bc3906f4
Support encoding record other than binary session in TCP channel frame reader.
2011-03-17 19:26:54 +09:00
Atsushi Eno
0a47c97c9b
Implement more encodings than binary frame with dictionary, in TCP manager.
...
(not known to not regress in nunit tests..)
2011-03-16 20:32:21 +09:00
Atsushi Eno
212b1ef847
avoid NRE on non-binary encoding use in TcpTransport.
2011-03-15 21:01:31 +09:00
Atsushi Eno
f6fffc0e18
Pass Actor. use IsNullOrEmpty() instead of "!= String.Empty".
2011-02-24 14:26:28 +09:00
Atsushi Eno
0f2d03bddd
Almost eliminate wrong use of Constants.WsaNamespace.
...
They should be addressing-version-aware.
2011-02-18 16:10:11 +09:00
Atsushi Eno
7570eef1b6
PeeDuplex ChannelFactory must be opened in prior to create channels.
2011-02-15 15:46:41 +09:00
Atsushi Eno
0b2d2e17cd
Avoid possible list modification error during close process.
2011-01-21 20:25:23 +09:00
Atsushi Eno
f4d59f294f
Make sure to close session once the client opened one.
2011-01-21 20:24:58 +09:00
Marek Safar
c8c8fc7769
Fixed missing protected internal modifier
2011-01-08 19:26:53 +00:00
Sebastien Pouliot
90f76e6521
Query SupportsCookieContainer ini Moonlight build
...
* HttpRequestChannel.cs: Do not use CookieContainer unless we know its
supported (e.g. client stack) otherwise we'll throw (browser stack)
2010-11-11 15:28:54 -05:00
Carlos Alberto Cortez
1d6f9ec0cc
Implement IPoliciExportExtension support for MsmqBindingElementBase.
...
* MsmqBindingElementBase.cs: Implement ExportPolicy.
2010-11-04 21:20:54 +01:00
Carlos Alberto Cortez
842e1ab9c5
Implement IPolicyExportExtension support for ConnectionOrientedTransportBindingElement.
...
* ConnectionOrientedTransportBindingElement.cs: Implement ExportPolicy.
2010-11-04 21:20:54 +01:00
Carlos Alberto Cortez
17b69cf278
Implement IPolicyExportExtension support for HttpTransportBindingElement.
...
* HttpTransportBindingElement.cs: Implement ExportPolicy.
2010-11-04 21:20:54 +01:00
Marek Habersack
d4bb1c86b7
[wcf] make /js and /jsdebug dispatchers work.
...
There were several issues here:
- The IChannelDispatcherBoundListener was defined twice, in two different namespaces, and it caused code in
ChannelDispatcher.Attach not to set its associated listener's ChannelDispatcher property to the correct value.
This, in turn, caused incorrect HttpListenerManagerTable operation, where it would put the "/js" and "/jsdebug"
dispatchers in separate HttpListenerManagers, instead of in the main (base) service's one.
- After fixing the above, it turned out that SvcHttpHandler selected the manager based on the host's base address,
when it should first try to find one whose URL matches the current request exactly.
2010-10-20 15:04:37 +02:00
Atsushi Eno
78ffa62836
Add ExtendedProtectionPolicy members. Required by .config files by .NET svcutil.
2010-10-20 18:06:02 +09:00
Marek Habersack
bc874337c2
[wcf] ServiceHost directive can span several lines.
2010-10-18 22:26:49 +02:00
Atsushi Eno
75343153ae
fixity fix.
2010-10-15 03:51:28 +09:00
Atsushi Eno
98d9cae751
Fix 2.1 build.
2010-10-15 03:36:40 +09:00
Atsushi Eno
7f16785b14
Enable SecurityBindingElement.CanBuildChannelListener implementation again with fix.
2010-10-15 02:48:24 +09:00
Atsushi Eno
d1430afd5a
The previous changes somehow regressed on olive samples, so give quick fixes.
2010-10-15 01:03:18 +09:00
Atsushi Eno
34e1278179
Implement NetTcpBinding.CanBuildChannelFactory/Listener and several related stuff.
...
SecurityTokenParameters.InitializeSecurityTokenRequirement() needs to become
protected internal, so changed all overrides as well.
Some implementation in WindowsStreamSecurityBindingElement is needed only for
NetTcpBinding implementation.
Had to disable a test in SymmetricSecurityBindingElement that depended on
OneWay support (which is not yet done).
2010-10-15 00:41:39 +09:00
Atsushi Eno
1ee253f41b
Fill NetTcpBinding security implementation a bit.
2010-10-14 19:40:48 +09:00
Atsushi Eno
2ba9827975
Add missing members.
2010-09-29 23:34:49 +09:00
Marek Habersack
d718a17c96
[wcf] Make sure context exists in the dictionary getting its associated wait handle.
...
SvcHttpHandler maintains a mapping of HttpContext to ManualResetEvent. Entries are
removed from the cache in EndHttpRequest. The code makes sure the context exists in
the cache before attempting to access it.
2010-09-29 12:44:27 +02:00
Alan McGovern
08c8799a39
[System.ServiceModel] Fix a few potential exceptions in background threads
...
Pass the listener as it's own async state so that we avoid potential null derefs in the callback. Also wrap the BeginAccept and EndAccept calls in their own try/catches in case they throw an exception.
2010-09-29 10:37:56 +01:00
Atsushi Eno
af6fde94ef
TCP channel listener: remove extra complication (threads) in the previous change.
2010-09-29 01:02:09 +09:00