* 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
* ServiceContractGenerator.cs, MessagePartDescription.cs,
DataContractSerializerMessageContractImporter.cs :
add alternative implementation to use XsdDataContractImporter
instead of XmlSchemaImporter hack.
It requires -d:USE_DATA_CONTRACT_IMPORTER and not enabled yet, as
it breaks some WSDL imports (such as memorabilia.hardrock.com).
svn path=/trunk/mcs/; revision=152048
* DataContractSerializerMessageContractImporter.cs,
ServiceContractGenerator.cs: ArrayOfXxx does not exist in the type
definition code. Use Xxx[] directly instead.
* WsdlImporterTest.cs : added test for processing ArrayOfXxx types.
* service1.wsdl, schema1.xsd, schema2.xsd : new test files (small
repro for bug #577139).
svn path=/trunk/mcs/; revision=151087
* ServiceContractGenerator.cs : when Options.AsynchronousMethods is
specified, generate async methods *as well as* sync methods (i.e.
not exclusively).
In moonlight proxy generator (svcutil -moonlight) mode, sync
methods will be removed at svcutil itself.
This fix brings sync proxy methods back to monotouch.
* ServiceContractGeneratorTest.cs : add test for async method
generation option to generate sync methods as well.
svn path=/trunk/mcs/; revision=150363
* ServiceContractGenerator.cs :
EventArgs are not nested classes.
Result property of EventArgs is not IAsyncResult. It should be
pulled from EndXxx() method, not from BeginXxx().
svn path=/trunk/mcs/; revision=148761
* ServiceContractGenerator.cs : removed ChannelBase proxy stuff,
which will be moved to svcutil source.
The targets for extension should be the interface, not the client
class.
svn path=/trunk/mcs/; revision=139639
* ServiceContractGenerator.cs,
OperationContractGenerationContext.cs : support extensions i.e.
IServiceContractGenerationExtension and IOperation...(ditto) .
svn path=/trunk/mcs/; revision=139630
* ServiceContractGenerator.cs : first step to add moonlight-based
client proxy generator (it is not supported in 3.5. needs to be
enabled by some hook, such as reflection-based hack).
svn path=/trunk/mcs/; revision=139621
* ServiceContractGenerator.cs : ClientBase<> argument type must be
class (the class itself is to be fixed soon as well).
svn path=/trunk/mcs/; revision=128055