Commit Graph
149 Commits
Author SHA1 Message Date
Atsushi Eno df66c40aaa part of fix bug #41. MessageParameterAttribute is considered for return value.
Conflicts:

	mcs/class/System.ServiceModel/System.ServiceModel.Description/MessagePartDescription.cs
2011-08-02 07:52:03 -07:00
Atsushi Eno 23263e537f Fix wsdl import wrt element qname (!= type name). 2011-07-27 21:05:56 -07:00
Atsushi Eno 8b88042311 Flush some ongoing changes for XmlSerializer support in svcutil. 2011-06-14 18:01:07 +09:00
Atsushi Eno bb331ddde1 Fill type info in MessagePartDescription from XmlSerializer-based wsdl importer.
It still needs some fixes to import message elements.
2011-05-27 17:27:01 +09:00
Atsushi Eno 9fc2d82c3b Implement XmlSerializerMessageContractImporter, round 2.
This time it is XmlSerializer-based, got it somewhat working.
2011-05-14 01:30:21 +09:00
Atsushi Eno 9c1b923e99 Implement WsdlContractConversionContext, and ignore message importer for now. 2011-05-13 21:48:41 +09:00
Atsushi Eno 6adda4d4c0 Revert previous XmlSerializerMessageContractImporter implementation.
XsdDataContractImporter is not XmlSerializer-based, while this class is.
2011-05-11 18:42:45 +09:00
Atsushi Eno 240c0124a6 Fix common issue in MetadataSet - call MoveToContent() while iterating nodes. 2011-05-10 20:00:38 +09:00
Atsushi Eno 52965a2b9d Add new MetadataSetTest and fix couple of minor issues. 2011-05-10 19:36:26 +09:00
Atsushi Eno 0f6b274a8e ongoing XmlSerializerMessageContractImporter work.
It is part of bugfix #670945.
2011-05-09 23:00:39 +09:00
Atsushi Eno 80238cef2f ServiceKnownTypeAttribute.MethodName was used way different to lookup method. 2011-04-14 14:58:03 +09:00
Atsushi Eno 40f9aba00f Add XmlSerializerFormatAttribute support in mobile profiles.
Unlike moonlight, XmlSerializer is in the framework lib (sys.xml), so we don't
have to split them out to Sys.Xml.Serialization.dll.
2011-04-08 16:01:11 +09:00
Atsushi Eno 7215e2b879 Fix moonlight_raw build in Sys.Xml.Serialization.dll (NIE!) 2011-04-07 23:29:28 +09:00
Atsushi Eno 12d359a6c4 DataContractSerializerOperationBehavior is done too. Fix moonlight_raw build. 2011-04-07 22:02:42 +09:00
Atsushi Eno 182883c4ba Some XmlSerializerFormatAttribute and XmlSerializerOperationBehavior refactoring. 2011-04-07 19:20:59 +09:00
Atsushi Eno c540e335c3 Less !NET_2_1/!MOONLIGHT to improve SL4 WCF compatibility. 2011-04-01 20:45:47 +09:00
Atsushi Eno 53c2bea069 Implement ConfigurationName support for ChannelFactory.
It is required for MoonlightDrtViewer bugfixing.
2011-04-01 18:25:10 +09:00
Peter Gerbrandt e56d2c760b Fix contract description for contracts with deep inheritance hierarchy. 2011-04-01 14:21:00 +09:00
Atsushi Eno f29c6b4014 Fix build; remove extra !NET_2_1. 2011-03-17 21:15:50 +09:00
Atsushi Eno 8aae8a860c Enable more behavior interface member in NET_2_1. 2011-03-16 20:52:50 +09:00
Atsushi Eno 72c9964603 Enable more behaviors use in NET_2_1 land, toward WebHttpBinding. 2011-03-16 20:43:24 +09:00
Atsushi Eno cf3968f176 Add endpoint behavior support in NET_2_1, which involved not a few additions. 2011-03-16 17:22:25 +09:00
Peter Gerbrandt 7f8aafbe7d Support for the same interface as service contract and as callback contract. 2011-03-07 12:53:19 +09:00
Atsushi Eno 995d298d00 Only use non-null values in ServiceAuthorizationBehavior. 2011-02-17 21:09:40 +09:00
Atsushi Eno 4b82e7b3b2 Operation interface methods also have ServiceKnownType attributes. 2011-02-16 17:07:10 +09:00
Atsushi Eno a28a9520b5 Async MessageContract pattern needs more sophisticated contract validity check.
It totally killed discovery.
2011-02-15 23:25:31 +09:00
Atsushi Eno 6ea68b9128 ServiceDescription.cs does not exist in moonlight, so move TypeExtension. 2011-02-15 22:38:20 +09:00
Atsushi Eno 7c37c423e1 MessageHeaderDescription were not filled in message contract. Reject wrong contracts. 2011-02-15 22:13:25 +09:00
Atsushi Eno 176c92c21d Now operations are collected per corresponding ContractDescription.
This fixes naming of MessageDescription Action URI from its type.
2011-02-08 12:07:22 +09:00
Atsushi Eno a303481db4 Implement GetInheritedContracts(), towards bugfix #668089. 2011-02-08 12:07:11 +09:00
Marek Habersack 8a63927fd1 [wcf] .NET allows for service contract methods to be decorated only by Web{Get,Invoke}Attribute
Usually WCF requires that each service method is marked with the OperationContract attribute with the exception
of methods decorated with the Web{Get,Invoke}Attribute attributes which are defined in System.ServiceModel.Web.
This patch adds a simple way to extend the ContractDescriptionGenerator in order to provide this functionality
without circular dependency of System.ServiceModel on System.ServiceModel.Web. Several extenders can be registered
with the description generator and they will be invoked in the registration order until any of them returns 'true'.
Extenders are passed a reference to the OperationContract attribute with which the current method is decorated - if
the reference is null, the extender should create a default instance of the attribute so that the description generator
considers the method as one to be included in the contract description.
2010-11-10 19:22:26 +01:00
Atsushi Eno a536dadf89 It should not have to import all schema elements, but those only used by contracts. 2010-10-22 19:06:20 +09:00
Atsushi Eno 4ef5d6daee Small refactoring on enumerating message schema element contents. 2010-10-22 17:58:16 +09:00
Atsushi Eno 76af53ecff OnEndXxx() methods should not try to let void return to a local variable. 2010-10-21 20:53:00 +09:00
Atsushi Eno dec04b58f3 Void event should not have Result of type void. 2010-10-21 19:44:20 +09:00
Atsushi Eno ea6de3e520 Make generated type names unique. 2010-10-21 19:06:56 +09:00
Atsushi Eno 184e1e67e5 Add #if NET_2_1 and SupportFaults member for Silverlight SlSvcUtil proxy. 2010-10-21 15:30:23 +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 582a90e800 Add DataContractResolver stuff (dummy), and fix Id reference from inside the referenced object. 2010-09-30 20:56:00 +09:00
Atsushi Eno be6342ff02 Contract is settable in 4.0. 2010-09-16 17:56:57 +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 1902671e15 Remove USE_DATA_CONTRACT_IMPORTER conditional compilation flag. 2010-09-10 22:26:44 +09:00
Atsushi Eno 8b8025e1d8 It should not fail to generate client proxy generation for having two "IsRequest=false" messages (it is set only in ContractDescriptionGenerator). 2010-09-09 21:51:31 +09:00
Atsushi Eno 3905366d74 Add some argument check. RemoteAddress could be null for callback client runtime channel. 2010-09-03 15:14:32 +09:00
Atsushi Eno 3cd82bb935 Add IsSystemEndpoint property and treat system endpoints as non-service. 2010-08-27 16:34:53 +09:00
Atsushi Eno 2d69022c2b Avoid NRE when ServiceEndpoint neither have Binding nor Contract. 2010-08-25 17:28:23 +09:00
Atsushi Eno e8cd1bd1ae ChannelDispatcherBase could be non-ChannelDispatcher. In WCF Discovery such type actually seems to exist, so it's not theoretical anymore. 2010-08-13 16:07:42 +09:00
atsushieno 8724d770fc Remove invalid comments. 2010-07-28 17:58:38 +09:00
atsushieno 0c667b10bf Fill Description names, and remove extra code. 2010-07-28 17:56:30 +09:00
Sebastien Pouliot 00b07a5a18 2010-07-19 Sebastien Pouliot <[email protected]>
* ClientCredentials.cs: Fix NET_2_1 builds


svn path=/trunk/mcs/; revision=160590
2010-07-19 21:12:46 +00:00