Commit Graph
176 Commits
Author SHA1 Message Date
Miguel de Icaza 2852ed0b59 Update copyrights 2011-09-13 18:26:13 -04:00
Atsushi Eno 106fdeb492 ReturnValue in MessageDescription was missing when there was MessageContract. 2011-08-24 12:09:16 -07:00
Atsushi Eno 2be522da83 This filter should ignore port, and should not filter out anonymous URIs. 2011-08-24 12:00:59 -07:00
Atsushi Eno 5fc5f02c46 Merge pull request #145 from ngraziano/99b87f07af0beed3a887
Fix Service Model Xml Serialization and XMLAttributes
2011-08-03 05:54:54 +09:00
Atsushi Eno 951a6e6276 part of fix bug #41. MessageParameterAttribute is considered for return value. 2011-08-02 07:41:49 -07: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 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 6f4a57dd4f Fix common issue in MetadataSet - call MoveToContent() while iterating nodes. 2011-05-10 19:58:17 +09:00
Atsushi Eno be4b6644f3 Add new MetadataSetTest and fix couple of minor issues. 2011-05-10 19:33:52 +09:00
Atsushi Eno 23a65d9a3c Revive this test by implementing mock web server. 2011-05-10 19:33:15 +09:00
Atsushi Eno ffb3d89126 Add (not-working) callback instance context mode test and FIXME comment. 2011-05-10 19:32:25 +09:00
Sebastien Pouliot c5549b4868 Add (disabled) unit tests for sync use of CommunicationObject
* System.ServiceModel_test.dll.sources: Add new files to the tests
* Test/NUnitMoonHelper.cs: Helper to re-use Moonlight unit tests on NUnit
* Test/System.ServiceModel.Channels/CommunicationObjectSyncTest.cs: New.
2011-05-09 13:48:54 -04:00
Atsushi Eno 75815614e7 ongoing XmlSerializerMessageContractImporter work.
It is part of bugfix #670945.
2011-05-09 22:58:18 +09:00
Atsushi Eno a316b856d0 Get real fix for bug #687902. Revert request processor IDisposable.
and handle session shutdown when creating InstanceContext.
Also add note on DisposeInstance(), which got me stuck.
2011-04-20 19:11:34 +09:00
Atsushi Eno cc60bcc264 Some argument check in TextMessageEncoder. 2011-04-15 23:48:31 +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 6b59934d78 Add ServiceKnownTypeAttributeTest. 2011-04-14 15:22:04 +09:00
Atsushi Eno 1b72f7f825 DataContractSerializerOperationBehavior is done too. Fix moonlight_raw build. 2011-04-07 22:01:26 +09:00
Peter Gerbrandt c48cff92ce Fix contract description for contracts with deep inheritance hierarchy. 2011-04-01 14:17:10 +09:00
Peter Gerbrandt bb22b06f22 Support for the same interface as service contract and as callback contract. 2011-03-07 12:51:19 +09:00
Atsushi Eno 5261535c35 Fix 2.0 test build (disable it). 2011-02-25 12:35:47 +09:00
Atsushi Eno 1d62f3e9e5 xsi:type parsing is wrong in default namespace resolution.
Fixed case #3 in bug #652331.
2011-02-16 18:02:28 +09:00
Atsushi Eno 3aaf87fe84 Message headers are now serialized and deserialized for MessageHeaderDescription. 2011-02-15 23:14:27 +09:00
Atsushi Eno bac5d7a27f MessageHeaderDescription were not filled in message contract. Reject wrong contracts. 2011-02-15 22:11:22 +09:00
Atsushi Eno 58a7b75bd8 Support ServiceKnownTypes. Fixed another case on bug #652331. 2011-02-09 15:42:40 +09:00
Atsushi Eno cae51172f8 Open and close client/service runtime channels in chains. Fixed bug #663278. 2011-02-07 23:15:22 +09:00
Atsushi Eno a2f1b9fb76 Now operations are collected per corresponding ContractDescription.
This fixes naming of MessageDescription Action URI from its type.
2011-02-03 01:07:44 +09:00
Atsushi Eno d7ad74f11f Implement GetInheritedContracts(), towards bugfix #668089. 2011-02-02 16:11:58 +09:00
Carlos Alberto Cortez 4ba9634043 Add IPolicyExportExtension tests for classes in System.ServiceModel.Channels.
* CustomPolicyConversionContext.cs: New file, containing a dummy
	child of PolicyConversionContext.
	* MsmqBindingElementBaseTest.cs: New test file.
	* ConnectionOrientedTransportBindingElementTest.cs: New test file.
	* HttpTransportBindingElementTest.cs: Add IPolicyExportExtension
	tests.
2010-11-04 21:20:54 +01:00
Carlos Alberto Cortez c2f7031954 Add MsmqTransportSecurityTest.cs to our test suite.
* MsmqTransportSecurityTest.cs: New test file.
2010-11-04 21:20:53 +01: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 0e7a3971a3 Do not reject contract from the same method, could happen by a type with multiple service contracts within the typie hierarchy.
For details, see: http://lists.ximian.com/pipermail/mono-devel-list/2010-September/035940.html
2010-10-08 15:55:12 +09:00
Atsushi Eno a16debc2c7 When finding SerializationMap for resolved type, use type as the key rather than name.
Make the fixed WCF test show more specific failure details.
2010-10-05 23:59:01 +09:00
Atsushi Eno 0c7a1a1f5c Fix the issue that callback contract often gets confused by picking unexpected contract type.
The problem is that DispatchRuntime.Type is a service implementation type
that could implement two or more contract interfaces, and it was in random
order how ServiceProxyGenerator picks up the contract type. Now it looks
for correct contract type instead of the service type by exactly looking
for the target contract in the endpoint (dispatcher).
2010-09-29 16:41:59 +09:00
Atsushi Eno a5043815da Override IsContentTypeSupported() in per-encoding-binding-element implementation to work as expected. 2010-09-24 16:26:28 +09:00
Atsushi Eno 3636f9866d Implement some additional logic around AddServiceEndpoint() to achive standard endpoint support. 2010-09-16 17:58:11 +09:00
Atsushi Eno 5628b49a01 implemented large parts of WCF standard endpoints and configuration support. 2010-09-13 22:36:37 +09:00
Atsushi Eno ecd1386cf1 Add another roundtrip case. 2010-09-02 00:01:00 +09:00
Atsushi Eno dfe40a5745 Request-reply channel factory should not reject one-way operation. It should just ignore the void reply. 2010-08-18 00:13:21 +09:00
Atsushi Eno f29ae1c85a ContractDescription aren't compared decently. Compare their types instead. 2010-08-16 21:03:50 +09:00
Atsushi Eno 6dadc2bfb5 Add contract existence check when calling AddServiceEndpoint(ServiceEndpoint). 2010-08-16 16:19:08 +09:00
Atsushi Eno 5d72c8a3a2 ChannelFactory<T> and ClientBase<T> do not reject ServiceEndpoint with null Binding or Address. 2010-08-12 18:04:23 +09:00
Atsushi Eno 60d557393c implement MessageEncodingBindingElement.GetProperty<T>(). 2010-08-11 01:38:43 +09:00
atsushieno 7d4887f1e9 add another WS-SC test (cosmetic). 2010-07-28 23:59:31 +09:00
atsushieno 80c6b2640e Implement some WS-SecureConv parameter check and enabled some tests. 2010-07-28 21:13:56 +09:00
atsushieno 5a73102e40 Handle ListenUri to get correct Uri (especially when relative). Reject wrong behaviorConfiguration. 2010-07-28 18:00:25 +09:00
Raja R Harinath cd51491631 Fix a few cases of mixed line-endings
This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller.  I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.
2010-07-26 02:20:13 +05:30
Raja R Harinath b293948fb7 EOL handling
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.

With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2010-07-25 20:17:39 +05:30
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