Commit Graph
281 Commits
Author SHA1 Message Date
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
Atsushi Eno 9d70540d4e 2010-02-02 Atsushi Enomoto <[email protected]>
* HttpListenerManager.cs : add another workaround for blocking
	  concurrent calls.


svn path=/trunk/mcs/; revision=150694
2010-02-02 08:18:56 +00:00
Atsushi Eno 18a8263857 2010-02-02 Atsushi Enomoto <[email protected]>
* HttpListenerManager.cs : small refactoring.


svn path=/trunk/mcs/; revision=150693
2010-02-02 08:08:04 +00:00
Atsushi Eno eba7835465 2010-01-22 Atsushi Enomoto <[email protected]>
* TcpDuplexSessionChannel.cs : added a workaround receiver delay
	  that somehow makes callback client to not cause infinite loop.

	* CallbackBehaviorAttributeTest.cs : enable the test again.


svn path=/trunk/mcs/; revision=150052
2010-01-22 08:48:54 +00:00
Atsushi Eno e58a2c7a66 2010-01-22 Atsushi Enomoto <[email protected]>
* TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
	  DuplexChannelBase.cs : Receive() should rather use TryReceive().
	  It should not be in reverse order.


svn path=/trunk/mcs/; revision=150040
2010-01-22 05:00:21 +00:00
Atsushi Eno 5b9ed19fc2 2010-01-22 Atsushi Enomoto <[email protected]>
* HttpReplyChannel.cs, HttpListenerManager.cs :
	  Implement async cancellation in the expected manner (though with
	  some hack). This mostly removed nunit blockers.

	* NetTcpBindingTest.cs : enabled connection tests again, as they
	  got working again (and more importantly, they don't block).
	* CallbackBehaviorAttributeTest.cs : on the other hand, disabled
	  a test so far. It is the only active test && the blocker now.


svn path=/trunk/mcs/; revision=150037
2010-01-22 03:06:48 +00:00
Atsushi Eno 32c2542398 2010-01-22 Atsushi Enomoto <[email protected]>
* CommunicationObject.cs : fix wrong status changes.


svn path=/trunk/mcs/; revision=150036
2010-01-22 02:23:53 +00:00
Atsushi Eno ede3b7e64e 2010-01-20 Atsushi Enomoto <[email protected]>
* AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(


svn path=/trunk/mcs/; revision=149908
2010-01-20 14:30:29 +00:00
Atsushi Eno 9a72f4cdb6 2010-01-20 Atsushi Enomoto <[email protected]>
* AddressHeader.cs : implement remaining bits.
	  Eliminate dependency on NetDataContractSerializer.

	* AddressHeaderTest.cs : add reader and writer tests.


svn path=/trunk/mcs/; revision=149907
2010-01-20 14:05:06 +00:00
Atsushi Eno e0e85ef8ce 2010-01-20 Atsushi Enomoto <[email protected]>
* CommunicationObject.cs : in Fault(), do similar work as previous
	  change does.


svn path=/trunk/mcs/; revision=149879
2010-01-20 05:57:20 +00:00
Atsushi Eno 47f6d5587c 2010-01-19 Atsushi Enomoto <[email protected]>
* CommunicationObject.cs : when process state changes, lock the
	  object to make sure the state transition is valid.
	  Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.

	* ChannelDispatcher.cs : another error audit.


svn path=/trunk/mcs/; revision=149793
2010-01-19 10:15:25 +00:00
Atsushi Eno c45f67f3e0 2010-01-13 Atsushi Enomoto <[email protected]>
* MessageHeaders.cs : implement SetAction().


svn path=/trunk/mcs/; revision=149451
2010-01-13 11:51:19 +00:00