Atsushi Eno
e2c6d5cb26
Fill type info in MessagePartDescription from XmlSerializer-based wsdl importer.
...
It still needs some fixes to import message elements.
2011-05-27 17:24:01 +09:00
Atsushi Eno
871ad48b98
Implement XmlSerializerMessageContractImporter, round 2.
...
This time it is XmlSerializer-based, got it somewhat working.
2011-05-14 01:28:03 +09:00
Atsushi Eno
404dea03e0
Implement WsdlContractConversionContext, and ignore message importer for now.
2011-05-13 21:46:24 +09:00
Atsushi Eno
f583e1e938
Revert previous XmlSerializerMessageContractImporter implementation.
...
XsdDataContractImporter is not XmlSerializer-based, while this class is.
2011-05-11 18:40:15 +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
75815614e7
ongoing XmlSerializerMessageContractImporter work.
...
It is part of bugfix #670945 .
2011-05-09 22:58:18 +09:00
Alan McGovern
c05df1d77f
[System.ServiceModel] Add some missing properties for IVT compatibility
...
These are required for moonlight.
2011-04-14 11:00:33 +01:00
Atsushi Eno
777580137c
ServiceKnownTypeAttribute.MethodName was used way different to lookup method.
2011-04-14 14:56:07 +09:00
Atsushi Eno
549e702365
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 15:58:04 +09:00
Atsushi Eno
84841ba8c8
Fix moonlight_raw build in Sys.Xml.Serialization.dll (NIE!)
2011-04-07 23:28:21 +09:00
Atsushi Eno
1b72f7f825
DataContractSerializerOperationBehavior is done too. Fix moonlight_raw build.
2011-04-07 22:01:26 +09:00
Atsushi Eno
852b7fe308
Some XmlSerializerFormatAttribute and XmlSerializerOperationBehavior refactoring.
2011-04-07 19:19:07 +09:00
Atsushi Eno
cd100616f4
Less !NET_2_1/!MOONLIGHT to improve SL4 WCF compatibility.
2011-04-01 20:39:33 +09:00
Atsushi Eno
4379361aa7
Implement ConfigurationName support for ChannelFactory.
...
It is required for MoonlightDrtViewer bugfixing.
2011-04-01 18:23:16 +09:00
Peter Gerbrandt
c48cff92ce
Fix contract description for contracts with deep inheritance hierarchy.
2011-04-01 14:17:10 +09:00
Rolf Bjarne Kvinge
30443d63dd
System.ServiceModel: make it a lot more compatible with Silverlight
2011-03-31 16:01:22 +02:00
Atsushi Eno
0f229b9c33
Fix build; remove extra !NET_2_1.
2011-03-17 21:14:12 +09:00
Atsushi Eno
e3b5955652
Enable more behavior interface member in NET_2_1.
2011-03-16 20:51:41 +09:00
Atsushi Eno
59df21bbdb
Enable more behaviors use in NET_2_1 land, toward WebHttpBinding.
2011-03-16 20:41:53 +09:00
Atsushi Eno
e60ff5ff90
Add endpoint behavior support in NET_2_1, which involved not a few additions.
2011-03-16 17:20:00 +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
3137e2c0c6
Only use non-null values in ServiceAuthorizationBehavior.
2011-02-17 21:06:12 +09:00
Atsushi Eno
86977acb58
Operation interface methods also have ServiceKnownType attributes.
2011-02-16 17:14:05 +09:00
Atsushi Eno
b8ecb21ef2
Async MessageContract pattern needs more sophisticated contract validity check.
...
It totally killed discovery.
2011-02-15 23:24:01 +09:00
Atsushi Eno
2de488bf5d
ServiceDescription.cs does not exist in moonlight, so move TypeExtension.
2011-02-15 22:37:28 +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
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
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
Atsushi Eno
d6e2b55290
batch commit from local git changes.
...
svn path=/trunk/mcs/; revision=160451
2010-07-15 17:09:35 +00:00