Commit Graph
12 Commits
Author SHA1 Message Date
Atsushi Eno 2de488bf5d ServiceDescription.cs does not exist in moonlight, so move TypeExtension. 2011-02-15 22:37:28 +09:00
Atsushi Eno d7ad74f11f Implement GetInheritedContracts(), towards bugfix #668089. 2011-02-02 16:11:58 +09:00
Atsushi Eno eed5cddbae 2010-06-04 Atsushi Enomoto <[email protected]>
* OperationDescription.cs : add contract origin flags to identify
	  which operation should be used for client operations (and dispatch
	  too in the future).
	* MessageDescription.cs : add IsRequest flag to indicate if it is
	  for request or not.
	* ServiceContractGenerator.cs, ContractDescriptionGenerator.cs :
	  make use of above changes.
	* ContractDescription.cs : don't create extraneous ClientOperations
	  in irrelevant message direction.

	* EndpointDispatcher.cs, BaseMessagesFormatter.cs:
	  Now MessageDescription.Direction is differentiated from "IsRequest"
	  property, to precisely identify request/reply in callbacks. Also
	  now we don't have to create extraneous ContractDescription for
	  callbacks.

	* DuplexClientRuntimeChannel.cs : do not create and use extraneous
	  ContractDescription for callback contract. Non-callback ones now
	  works fine.

	This fixes service part of bug #567672, IsOneWay = true case.


svn path=/trunk/mcs/; revision=158454
2010-06-04 08:40:36 +00:00
Atsushi Eno 3966750e29 2010-06-03 Atsushi Enomoto <[email protected]>
* ContractDescriptionGenerator.cs : Now callback contract methods are
	  also reflected into OperationDescription as well as those from non-
	  callback contract. Callback methods have reverse MessageDirection,
	  so adjust them.
	* ContractDescription.cs, ServiceEndpoint.cs, TypedMessageConverter.cs :
	  A bit of renaming / reflect method call changes.

	* EndpointDispatcher.cs, DispatchRuntime.cs, ClientRuntime.cs :
	  now Callback[Dispatch|Client]Runtime properties are always filled
	  so that users can configure the callback runtimes (not sure such
	  configured runtimes work fine yet, but it is a required step).
	* InputOrReplyRequestProcessor.cs : instead of HasCallbackRuntime
	  hack, use CallbackClientRuntime.CallbackContractType for checking
	  callback existence.

	* ClientProxyGenerator.cs : CreateProxyType now carefully considers
	  requested proxy type, contract type and callback contract type.
	  i.e. now the resulting proxy has implemented methods for callbacks
	  that are also filled at ContractDescription.
	* ClientRuntimeChannel.cs : reflect some method call changes.


svn path=/trunk/mcs/; revision=158412
2010-06-03 16:33:31 +00:00
Atsushi Eno c0e0e3f66e 2010-05-28 Atsushi Enomoto <[email protected]>
* ContractDescription.cs : fill ClientOperation.Formatter here.
	  (It is hacky, see additional comment.)

	* ClientRuntimeChannel.cs : replace GetFormatter() with Formatter.

	* ClientOperation.cs : do the same for client side too.


svn path=/trunk/mcs/; revision=158083
2010-05-28 07:52:10 +00:00
Atsushi Eno 4b04dc5db5 2010-04-02 Atsushi Enomoto <[email protected]>
* ContractDescription.cs : fill FaultContractInfos in ClientOperation.


svn path=/trunk/mcs/; revision=154694
2010-04-02 09:02:06 +00:00
Jb Evain 69fc3eefe6 use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153654
2010-03-16 10:55:58 +00:00
Atsushi Eno cf16c28305 2010-02-04 Astushi Enomoto <[email protected]>
* Dummy.cs, net_2_1_raw_System.ServiceModel.dll.sources : add some
	  classes out of dummy, for monotouch (hidden in 2.1 profile).

	*  ClientCredentials.cs, ContractDescription.cs,
	  IEndpointBehavior.cs, IOperationBehavior.cs : add monotouch support
	  for client behavior.


svn path=/trunk/mcs/; revision=150863
2010-02-04 15:03:47 +00:00
Atsushi Eno 1ed5e1ad21 2009-08-07 Atsushi Enomoto <[email protected]>
* ContractDescription.cs : wcf & 2.1 is specially annoying land :(


svn path=/trunk/mcs/; revision=139597
2009-08-08 00:35:39 +00:00
Atsushi Eno 1ac99f5eaa 2009-08-07 Atsushi Enomoto <[email protected]>
* ServiceEndpoint.cs, ContractDescription.cs : moved client runtime
	  creator from former to latter.

	* ClientProxyGenerator.cs : split client-specific code generation
	  from those common to service callback generation.
	* ServiceProxyGenerator.cs : new file, uses common basis above.


svn path=/trunk/mcs/; revision=139544
2009-08-07 06:20:19 +00:00
Atsushi Eno 7c73195aae 2009-01-07 Atsushi Enomoto <[email protected]>
* ContractDescription.cs : fix by corcompare.


svn path=/trunk/mcs/; revision=122631
2009-01-07 08:11:44 +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