Commit Graph
41 Commits
Author SHA1 Message Date
atsushieno 5a73102e40 Handle ListenUri to get correct Uri (especially when relative). Reject wrong behaviorConfiguration. 2010-07-28 18:00:25 +09:00
Atsushi Eno cf52630eec 2010-07-06 Atsushi Enomoto <[email protected]>
* 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
2010-07-06 04:24:32 +00:00
Atsushi Eno f5d38f374f 2010-06-18 Atsushi Enomoto <[email protected]>
* ServiceHostTest.cs : fix AddServiceEndpoint tests to make sense.
	  They are mostly not working. Enable working one.

	* TcpTransportBindingElementTest.cs : rename misleading test.


svn path=/trunk/mcs/; revision=159122
2010-06-18 08:50:26 +00:00
Atsushi Eno f5456a249a 2010-06-17 Atsushi Enomoto <[email protected]>
* Binding.cs : enable simpler MessageVersion code (issued got fixed).
	* MtomMessageEncodingBindingElement.cs, TransportBindingElement.cs,
	  TextMessageEncodingBindingElement.cs : return MessageVersion in
	  GetProperty<T>().

	* HttpTransportBindingElementTest.cs, CustomBindingTest.cs :
	  anohter couple of MessageVersion tests.


svn path=/trunk/mcs/; revision=159066
2010-06-17 11:24:58 +00:00
Atsushi Eno 1f4684cd40 2010-06-17 Atsushi Enomoto <[email protected]>
* ServiceHostBase.cs : retrieve MessageVersion and raise an error
	  if there is none. (Check this earlier than building a listener.)

	* ChannelDispatcher.cs : MessageVersion check is moved to
	  ServiceHostBase.

	* ServiceMetadataExtension.cs : overwrite MessageVersion to use None.
	  (The only special case I found for ChannelDispatcher.MessageVersion.)

	* CustomBindingTest.cs : add tests for MessageVersion check on Open().

	* MetadataExchangeBindingsTest.cs : make sure that special casing of
	  MessageVersion does not happen at this layer.


svn path=/trunk/mcs/; revision=159061
2010-06-17 10:48:55 +00:00
Atsushi Eno 2eb86de94d 2010-06-15 Atsushi Enomoto <[email protected]>
* 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
2010-06-15 08:43:10 +00:00
Atsushi Eno bc0d9e7627 2010-05-14 Atsushi Enomoto <[email protected]>
* BindingContext.cs : actually clone is needed everywhere else too.
	* CustomBinding.cs : remove extra field.

	* BindingContextTest.cs : add a couple of tests with related to
	  RemainingBindingElements use. Some tests by Andreia Gaita.


svn path=/trunk/mcs/; revision=157350
2010-05-14 07:28:26 +00:00
Atsushi Eno adc4026eae 2010-04-21 Atsushi Enomoto <[email protected]>
* BindingContext.cs : require a TransportBindingElement when
	  building a channel listener.

	* CustomBindingTest.cs : enable BuildChannelListener test for no-
	  transport case. Test CanBuildChannelListener too.


svn path=/trunk/mcs/; revision=155857
2010-04-21 09:45:46 +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 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 28e997e1e9 2010-03-29 Atsushi Enomoto <[email protected]>
* MessageHeaderTest.cs : enable one, add not-working cosmetic one.


svn path=/trunk/mcs/; revision=154367
2010-03-29 12:07:37 +00:00
Atsushi Eno 4f29247c43 2010-03-29 Atsushi Enomoto <[email protected]>
* MessageBufferTest.cs : enable not-working test.


svn path=/trunk/mcs/; revision=154363
2010-03-29 11:20:22 +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
Atsushi Eno c1fba935ca 2010-03-26 Atsushi Enomoto <[email protected]>
* FaultConverterTest.cs, MessageFaultTest.cs : add new and not-working
	  tests.


svn path=/trunk/mcs/; revision=154286
2010-03-26 16:06:02 +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 55e8c59203 2010-03-25 Atsushi Enomoto <[email protected]>
* MessageTest.cs : add another IsFault tests, which exposed some
	  issues at client side.


svn path=/trunk/mcs/; revision=154199
2010-03-25 15:26:59 +00:00
Atsushi Eno bd6119f522 2010-01-21 Atsushi Enomoto <[email protected]>
* SslStreamSecurityBindingElementTest.cs : reduce extra base dep.


svn path=/trunk/mcs/; revision=149955
2010-01-21 03:48:24 +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 ff3954c708 2010-01-06 Atsushi Enomoto <[email protected]>
* BinaryMessageEncoder.cs : enable workaround buffering only when
	  the argument stream does *not* support seek. This fixes some
	  net.tcp connection problem.

	* BinaryMessageEncodingBindingElementTest.cs : added test for
	  connection-based tests for both TCP and HTTP (they give difference:
	  see BinaryMessageEncoder.cs change too).


svn path=/trunk/mcs/; revision=149103
2010-01-06 03:39:07 +00:00
Atsushi Eno efe6f6d540 2009-12-21 Atsushi Enomoto <[email protected]>
* MessageFault.cs : support EnvelopeVersion.None as well, as almost
	  the same as SOAP12.

	* MessageFaultTest.cs : add CreateFault test with MessageVersion.None.


svn path=/trunk/mcs/; revision=148797
2009-12-21 06:10:47 +00:00
Atsushi Eno fa8cca6868 2009-12-10 Atsushi Enomoto <[email protected]>
* MessageHeadersTest.cs : added another CopyHeadersFrom() test to
	  make sure there is no duplicate.


svn path=/trunk/mcs/; revision=148008
2009-12-10 07:23:25 +00:00
Atsushi Eno 47e8f1112d 2009-12-10 Atsushi Enomoto <[email protected]>
* MessageHeadersTest.cs : enable working test and remove old comment.


svn path=/trunk/mcs/; revision=148007
2009-12-10 07:18:27 +00:00
Atsushi Eno 95b8c6d86d 2009-12-10 Atsushi Enomoto <[email protected]>
* MessageHeaders.cs : null can be set as a WS-Addressing header item.

	* MessageHeadersTest.cs : make sure null can be set as a
	  WS-Addressing header when version is None.


svn path=/trunk/mcs/; revision=148006
2009-12-10 06:50:38 +00:00
Atsushi Eno 361233a3d4 2009-12-04 Atsushi Enomoto <[email protected]>
* HttpTransportBindingElement.cs : finished all GetProperty() values.

	* HttpTransportBindingElementTest.cs : added GetProperty() tests.


svn path=/trunk/mcs/; revision=147646
2009-12-04 09:51:53 +00:00
Atsushi Eno d9be950d9c 2009-12-03 Astushi Enomoto <[email protected]>
* System.ServiceModel_test.dll.sources:
	  added HttpsTransportBindingElementTest.cs.

	* HttpsTransportBindingElement.cs, HttpChannelListener.cs :
	  added URI scheme check.

	* HttpsTransportBindingElementTest.cs : new test.


svn path=/trunk/mcs/; revision=147538
2009-12-03 09:40:30 +00:00
Atsushi Eno 3f987a1b6f 2009-09-14 Atsushi Enomoto <[email protected]>
* MessagePropertiesTest.cs : new test.

	* MessageProperties.cs : fix CopyProperties() behavior to not
	  clear existing items. Make all properties call this[name].

	* System.ServiceModel_test.dll.sources: add MessagePropertiesTest.cs.


svn path=/trunk/mcs/; revision=141898
2009-09-14 17:03:34 +00:00
Atsushi Eno f3bae627cb 2009-09-02 Atsushi Enomoto <[email protected]>
* HttpRequestMessageProperty.cs : fix default values.

	* HttpRequestMessagePropertyTest.cs : new test.

	* System.ServiceModel_test.dll.sources:
	  add HttpRequestMessagePropertyTest.cs


svn path=/trunk/mcs/; revision=141110
2009-09-02 10:16:21 +00:00
Atsushi Eno 59fceba19b 2009-08-31 Atsushi Enomoto <[email protected]>
* HttpChannelFactory.cs : reject URI mismatch cases when required.

	* HttpTransportBindingElementTest.cs : test for URI mismatch case.


svn path=/trunk/mcs/; revision=140960
2009-08-31 12:10:33 +00:00
Atsushi Eno a190897311 2009-08-20 Atsushi Enomoto <[email protected]>
* MessageHeaders.cs : duplicate check was sloppy.

	* MessageHeadersTest.cs : added a couple od duplicate tests. Fixed
	  non-working test output.


svn path=/trunk/mcs/; revision=140315
2009-08-20 08:05:00 +00:00
Atsushi Eno 9f127bdcf5 2009-08-17 Atsushi Enomoto <[email protected]>
* Message.cs : state is set only after WriteBodyContents().

	* MessageTest.cs : added test for State.


svn path=/trunk/mcs/; revision=140045
2009-08-17 09:41:16 +00:00
Atsushi Eno 198d728a95 2009-06-08 Atsushi Enomoto <[email protected]>
* CommunicationObject.cs : OnClosed() requires call to base method.
	  Close() could rather abort the channel, and Abort() does not
	  always invke OnAbort().
	* ChannelBase.cs : add call to base as above.

	* ChannelDispatcher.cs :
	  Add call to base (see CommunicationObject change).

	* InstanceContext.cs :
	  Add call to base (see CommunicationObject change).

	* CommunicationObjectTest.cs : added a couple of close/abort tests
	  for state transition and base call check.


svn path=/trunk/mcs/; revision=135649
2009-06-08 09:10:08 +00:00
Atsushi Eno 7017be6aa3 2009-05-22 Atsushi Enomoto <[email protected]>
* BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
	  This encoder factory implements CreateSessionEncoder() and binary
	  encoder does support session transmit, in different media type.
	* ChannelManagerBase.cs : added utility method to create appropriate
	  encoder.
	* HttpChannelFactory.cs, HttpChannelListener.cs,
	  MsmqChannelFactory.cs, MsmqChannelListener.cs,
	  PeerChannelFactory.cs, PeerChannelListener.cs,
	  TcpChannelFactory.cs, TcpChannelListener.cs : use above.

	* MessageEncoderTest.cs : test CreateSessionEncoder().


svn path=/trunk/mcs/; revision=134584
2009-05-22 02:27:04 +00:00
Atsushi Eno 31009113d4 2009-05-19 Atsushi Enomoto <[email protected]>
* MessageFault.cs : fix several SOAP12 fault deserialization in xml
	  parsing.

	* MessageFaultTest.cs : added more SOAP 12 fault parser tests.
	* soap-fault.xml, soap-fault-incomplete4.xml : new test files.


svn path=/trunk/mcs/; revision=134389
2009-05-19 12:01:20 +00:00
Atsushi Eno a22727c329 2009-05-15 Atsushi Enomoto <[email protected]>
* MessageFault.cs : Reason is mandatory. raise XmlException, and
	  CommunicationException in each CreateFault().

	* soap-fault-incomplete.xml : new test file.
	* MessageFaultTest.cs : new test.

	* System.ServiceModel.dll_test.sources: added MessageFaultTest.cs.


svn path=/trunk/mcs/; revision=134197
2009-05-15 11:27:39 +00:00
Atsushi Eno 9260e9a39f 2009-04-28 Atsushi Enomoto <[email protected]>
* TcpDuplexSessionChannel.cs : implement in-band dictionary support
	  in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
	  comments for magic numbers based on [MC-NMF].

	* BinaryMessageEncodingBindingElementTest.cs, binary-message.raw:
	  new test files.

	* System.ServiceModel.dll_test.sources: added
	  BinaryMessageEncodingBindingElementTest.cs.


svn path=/trunk/mcs/; revision=132882
2009-04-28 18:55:59 +00:00
Atsushi Eno fc63af5a71 2009-04-21 Atsushi Enomoto <[email protected]>
* PeerTransportBindingElementTest.cs : test PeerNode property too.


svn path=/trunk/mcs/; revision=132245
2009-04-21 11:59:06 +00:00
Atsushi Eno 1f9a2160f1 ongoing PeerTransportBindingElement implementation.
svn path=/trunk/mcs/; revision=132146
2009-04-20 12:16:39 +00:00
Atsushi Eno e596ffbe11 2009-04-07 Atsushi Enomoto <[email protected]>
* TcpTransportBindingElement.cs : check build-ability before
	  actually building channels.
	* ConnectionOrientedTransportBindingElement.cs : fixed build-ability
	  conditions according to MSDN.

	* TcpTransportBindingElementTest.cs : more can-build tests.

	* NetTcpBindingTest.cs : new test.

	* System.ServiceModel_test.dll.sources: added NetTcpBindingTest.cs.


svn path=/trunk/mcs/; revision=131222
2009-04-07 12:11:53 +00:00
Jb Evain bdd0809c70 move to from olive to mcs
svn path=/trunk/mcs/; revision=111187
2008-08-20 21:24:37 +00:00