Commit Graph
292 Commits
Author SHA1 Message Date
Atsushi Eno f026893db8 2010-04-02 Atsushi Enomoto <[email protected]>
* HttpRequestChannel.cs : use correct max buffer size.


svn path=/trunk/mcs/; revision=154708
2010-04-02 11:36:49 +00:00
Atsushi Eno 6020091ff0 2010-04-02 Atsushi Enomoto <[email protected]>
* MessageFault.cs : check null serializer and detail.
	  Make sure to consume s12:Reason EndElement.


svn path=/trunk/mcs/; revision=154707
2010-04-02 11:11:13 +00:00
Atsushi Eno 36187d3171 2010-04-02 Atsushi Enomoto <[email protected]>
* MessageFault.cs : when created from XmlReader, it should not
	  deserialize fault details immediately. This class itself should
	  not do that. Strongly typed FaultContractInfo may want to use the
	  reader (GetReaderAtDetailContents()) for its own deserialization.


svn path=/trunk/mcs/; revision=154695
2010-04-02 09:07:09 +00:00
Atsushi Eno e1b6d382fe 2010-04-01 Atsushi Enomoto <[email protected]>
* ConnectionOrientedTransportBindingElement.cs,
	  TcpTransportBindingElement.cs : implement GetProperty<T>().

	* TcpTransportBindingElementTest.cs : GetProperty<T>() here too.


svn path=/trunk/mcs/; revision=154624
2010-04-01 09:34:16 +00:00
Atsushi Eno 73481d620c 2010-04-01 Atsushi Enomoto <[email protected]>
* HttpTransportBindingElement.cs, HttpsTransportBindingElement.cs:
	  implement HttpsTransportBindingElement.GetProperty<T>(). Extend the
	  properties type from HTTP.

	* HttpsTransportBindingElementTest.cs :
	  added test for GetProperty<T>().


svn path=/trunk/mcs/; revision=154621
2010-04-01 09:13:45 +00:00
Atsushi Eno ad6c7601f5 2010-04-01 Atsushi Enomoto <[email protected]>
* FaultConverter.cs : use addressing version from the message.

	* ServiceHostBaseTest.cs : enable RunDestinationUnreachableTest()
	  and add another case for different addressing version.


svn path=/trunk/mcs/; revision=154608
2010-04-01 04:54:36 +00:00
Atsushi Eno a23f75e7be 2010-03-30 Atsushi Enomoto <[email protected]>
* FaultConverter.cs : check envelope version, not addressing version.


svn path=/trunk/mcs/; revision=154426
2010-03-30 07:34:18 +00:00
Atsushi Eno a08eda1815 2010-03-29 Atsushi Enomoto <[email protected]>
* FaultConverter.cs : implemented TryCreateException().

	* FaultConverterTest.cs : added more TryCreateException() tests.


svn path=/trunk/mcs/; revision=154376
2010-03-29 14:01:33 +00:00
Atsushi Eno 789dc0be76 2010-03-29 Atsushi Enomoto <[email protected]>
* MessageFault.cs : cosmetic method name clarification.

	* MessageFaultTest.cs : enable previous test.

	(made wrong commit in the previous test changelog)


svn path=/trunk/mcs/; revision=154356
2010-03-29 08:41:07 +00:00
Atsushi Eno 8056b10c0e 2010-03-29 Atsushi Enomoto <[email protected]>
* XmlReaderBodyWriter.cs, Message.cs, MessageImpl.cs, BodyWriter.cs:
	  fix BodyWriter buffering that dropped in-scope namespaces and thus
	  caused problem on resolving QNames.

	* MessageFaultTest.cs : enable previous test.


svn path=/trunk/mcs/; revision=154354
2010-03-29 07:43:14 +00:00
Sebastien Pouliot b18a6ee9b3 fix NET_2_1 build (poor lone else)
svn path=/trunk/mcs/; revision=154297
2010-03-26 17:23:03 +00:00
Atsushi Eno cb9aee8dda 2010-03-26 Atsushi Enomoto <[email protected]>
* FaultConverter.cs : do implement OnTryCreateFaultMessage() to work
	  with certain Exception types.


svn path=/trunk/mcs/; revision=154281
2010-03-26 14:50:46 +00:00
Atsushi Eno 4947b938d6 2010-03-26 Atsushi Enomoto <[email protected]>
* Message.cs : fix explanation on CreateMessage() overloads.


svn path=/trunk/mcs/; revision=154280
2010-03-26 14:47:28 +00:00
Atsushi Eno 71bbae3e58 2010-03-26 Atsushi Enomoto <[email protected]>
* MessageFault.cs : Write Subcode element correctly and fix wrong
	  Code/Value/Subcode element relationship. Give better error message.


svn path=/trunk/mcs/; revision=154279
2010-03-26 14:45:34 +00:00
Atsushi Eno 40564594bb 2010-03-26 Atsushi Enomoto <[email protected]>
* HttpRequestChannel.cs : ok, no need for conditional code path.


svn path=/trunk/mcs/; revision=154275
2010-03-26 14:18:47 +00:00
Atsushi Eno 4190808818 2010-03-26 Atsushi Enomoto <[email protected]>
* AddressingVersion.cs : add fault action namespace.


svn path=/trunk/mcs/; revision=154274
2010-03-26 14:17:48 +00:00
Sebastien Pouliot 8c187610f3 2010-03-26 Sebastien Pouliot <[email protected]>
* HttpRequestChannel.cs: There is no WebHeaderCollection.Add 
	method in SL API


svn path=/trunk/mcs/; revision=154264
2010-03-26 12:30:14 +00:00
Atsushi Eno 570c1d9c76 2010-03-26 Atsushi Enomoto <[email protected]>
* MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().

	* MessageBufferTest.cs : add test for copy of IsFault value.


svn path=/trunk/mcs/; revision=154250
2010-03-26 08:10:09 +00:00
Atsushi Eno 7657287175 2010-03-26 Atsushi Enomoto <[email protected]>
* HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
	  for fault message.


svn path=/trunk/mcs/; revision=154249
2010-03-26 07:03:27 +00:00
Atsushi Eno 98329a07f9 2010-03-26 Atsushi Enomoto <[email protected]>
* HttpRequestChannel.cs : create HttpResponseMessageProperty.


svn path=/trunk/mcs/; revision=154247
2010-03-26 06:33:48 +00:00
Atsushi Eno 75fd967aae 2010-03-25 Atsushi Enomoto <[email protected]>
* HttpRequestContext.cs : removed HTTP status rewriting for
	  commented reason.


svn path=/trunk/mcs/; revision=154201
2010-03-25 15:32:59 +00:00
Atsushi Eno 01bd843372 2010-03-25 Atsushi Enomoto <[email protected]>
* HttpRequestChannel.cs : handle only 4xx errors as to not process
	  content stream.


svn path=/trunk/mcs/; revision=154191
2010-03-25 07:53:38 +00:00
Atsushi Eno 9bcaaf5aed 2010-03-25 Atsushi Enomoto <[email protected]>
* MessageFault.cs : do not use SOAP11 namespace for fault contents.


svn path=/trunk/mcs/; revision=154188
2010-03-25 04:18:45 +00:00
Atsushi Eno fbd6bb5853 2010-03-24 Atsushi Enomoto <[email protected]>
* ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
	  Patch by Matt Dargavel.


svn path=/trunk/mcs/; revision=154125
2010-03-24 10:54:55 +00:00
Atsushi Eno 3a06880a84 2010-03-24 Atsushi Enomoto <[email protected]>
* HttpListenerManager.cs : use lock object which is subject to
	  change. Fix by Matt Dargavel.


svn path=/trunk/mcs/; revision=154121
2010-03-24 10:00:48 +00:00
Atsushi Eno 2500e7ef08 2010-03-24 Atsushi Enomoto <[email protected]>
* HttpListenerManager.cs : remove consumed HttpListenerContext from
	  the pending queue. Compare "wsdl" request in case insensitive
	  manner. Patch by Matt Dargavel.


svn path=/trunk/mcs/; revision=154120
2010-03-24 09:58:46 +00:00
Atsushi Eno de17bced2c 2010-03-24 Atsushi Enomoto <[email protected]>
* HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
	  supposed to provide detailed 400 error message.


svn path=/trunk/mcs/; revision=154112
2010-03-24 06:15:44 +00:00
Atsushi Eno 298f5fcfc1 2010-03-24 Atsushi Enomoto <[email protected]>
* TransactionFlowBindingElement.cs: revamp the previous change to
	  not regress regarding service metadata.


svn path=/trunk/mcs/; revision=154108
2010-03-24 05:25:17 +00:00
Atsushi Eno e531d0f1c2 2010-03-24 Atsushi Enomoto <[email protected]>
* ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix 
	  GetProperty<T>() bug that fails to retrieve properties. (This may
	  be rewritten later if an ongoing change proposal is to take place.)


svn path=/trunk/mcs/; revision=154107
2010-03-24 05:10:27 +00:00
Atsushi Eno 299b783b98 2010-03-18 Atsushi Enomoto <[email protected]>
* ReliableSessionBindingElement.cs,
	  PrivacyNoticeBindingElement.cs,
	  RemoteEndpointMessageProperty.cs : added some missing types.

	* Dummy.cs : removed some dummy types (not dummy anymore).

	* System.ServiceModel.dll.sources : added some missing types.


svn path=/trunk/mcs/; revision=153824
2010-03-18 10:36:51 +00:00
Atsushi Eno 3b333ef840 2010-03-17 Atsushi Enomoto <[email protected]>
* MessageHeaders.cs :
	  why does it filter out most of the headers? kill it.


svn path=/trunk/mcs/; revision=153716
2010-03-17 08:48:15 +00:00
Atsushi Eno 1e0be4e748 2010-03-17 Atsushi Enomoto <[email protected]>
* SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
	  HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
	  to not raise "not found" error (see bug #573795).


svn path=/trunk/mcs/; revision=153712
2010-03-17 07:05:41 +00:00
Jb Evain 69fc3eefe6 use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153654
2010-03-16 10:55:58 +00:00
Chris Toshok cb03263155 fix build
svn path=/trunk/mcs/; revision=153331
2010-03-09 17:24:07 +00:00
Atsushi Eno bc2a4d1e92 2010-03-09 Atsushi Enomoto <[email protected]>
* HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
	  type, and use null password unless we find a chance to get password
	  in ASP.NET HttpContext.


svn path=/trunk/mcs/; revision=153310
2010-03-09 08:01:46 +00:00
Atsushi Eno 7d0100c9af 2010-03-03 Atsushi Enomoto <[email protected]>
* HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
	  HttpListenerManager.cs : ongoing authentication support. It returns
	  401 as expected, but somehow fails to retrieve user info.


svn path=/trunk/mcs/; revision=152941
2010-03-03 15:24:58 +00:00
Atsushi Eno 0e5761c9dc 2010-02-10 Atsushi Enomoto <[email protected]>
* HttpListenerManager.cs : this change (along with HttpListener
	  implementation) somehow fixes basic auth. connection error...


svn path=/trunk/mcs/; revision=152921
2010-03-03 12:35:06 +00:00
Atsushi Eno 7c3eb05bcc 2010-02-10 Atsushi Enomoto <[email protected]>
* MessageHeaders.cs : add !NET_2_1.


svn path=/trunk/mcs/; revision=151203
2010-02-10 10:54:28 +00:00
Atsushi Eno 182caa5577 2010-02-10 Atsushi Enomoto <[email protected]>
* MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
	  typed UniqueId output.


svn path=/trunk/mcs/; revision=151199
2010-02-10 09:12:06 +00:00
Atsushi Eno 34289b6f76 2010-02-10 Atsushi Enomoto <[email protected]>
* MessageHeader.cs : no need to treat EndpointAddress as a special
	  case here too.


svn path=/trunk/mcs/; revision=151198
2010-02-10 08:52:22 +00:00
Atsushi Eno b209cce108 2010-02-10 Atsushi Enomoto <[email protected]>
* Constants.cs, EndpointAddress10.cs :
	  Remove duplicate constant (WSA1).

	* MessageHeaders.cs : remove duplicate constant.


svn path=/trunk/mcs/; revision=151197
2010-02-10 08:24:54 +00:00
Atsushi Eno b3cff5487e 2010-02-10 Atsushi Enomoto <[email protected]>
* MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
	  EndpointAddress as a special case. Instead, each MessageHeaders
	  property should convert it to appropriate serializable objects.

	  (Our DataContractSerializer fails to reject EndpointAddress as
	  serializable type, so it's rather a preparation step.)


svn path=/trunk/mcs/; revision=151196
2010-02-10 08:10:45 +00:00
Atsushi Eno a97f90e673 2010-02-10 Atsushi Enomoto <[email protected]>
* MessageHeader.cs, Message.cs : use dictionary string whenever
	  applicable. The binary output on #577139 is getting closer (no
	  idea if it is really about binary output though).


svn path=/trunk/mcs/; revision=151194
2010-02-10 07:38:23 +00:00
Atsushi Eno e562d11cf8 2010-02-10 Atsushi Enomoto <[email protected]>
* BinaryMessageEncoder.cs : moved soap_dictionary to Constants.

	* Constants.cs : moved SoapDictionary from BinaryMessageEncoder.


svn path=/trunk/mcs/; revision=151193
2010-02-10 07:36:23 +00:00
Atsushi Eno afbe553d9e 2010-02-05 Atsushi Enomoto <[email protected]>
*  HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.


svn path=/trunk/mcs/; revision=150920
2010-02-05 11:12:56 +00:00
Atsushi Eno af5c0da74d 2010-02-05 Atsushi Enomoto <[email protected]>
*  HttpRequestChannel.cs, HttpTransportBindingElement.cs :
	  enable authentication schemes on monotouch.

	* Dummy_2_1.cs : remove AuthenticationSchemes. It blocks MT support.


svn path=/trunk/mcs/; revision=150909
2010-02-05 02:21:37 +00:00
Atsushi Eno ab60f8ab46 2010-02-04 Atsushi Enomoto <[email protected]>
* SvcHttpHandler.cs : a wait handle could be used for more than one
	  requests and hence it sometimes blocked one reply channel. Now
	  it creates a wait handle for each ASP.NET request so that such
	  multiple use should not occur. This should fix blocking on
	  concurrent requests (it indeed fixes as long as I can see).

	* HTTP_listener_notes.txt: some notes updated.


svn path=/trunk/mcs/; revision=150850
2010-02-04 11:09:03 +00:00
Atsushi Eno 999db4286f 2010-02-04 Atsushi Enomoto <[email protected]>
* AspNetReplyChannel.cs : remove garbage output.


svn path=/trunk/mcs/; revision=150843
2010-02-04 09:10:18 +00:00
Atsushi Eno e1f67f786c 2010-02-04 Atsushi Enomoto <[email protected]>
* SvcHttpHandler.cs : Use lock when it tries to create the service
	  host.


svn path=/trunk/mcs/; revision=150842
2010-02-04 08:49:58 +00:00
Atsushi Eno 779097acc6 2010-02-02 Atsushi Enomoto <[email protected]>
* SvcHttpHandlerFactory.cs : lock when it tries to acquire
	  HttpHandler.


svn path=/trunk/mcs/; revision=150705
2010-02-02 12:29:11 +00:00