Commit Graph
26 Commits
Author SHA1 Message Date
Martin Baulig eb285f121c Merge branch 'master' into baulig 2013-01-21 20:56:20 +01:00
Atsushi Eno 70015f9ba5 Flush some ongoing changes for XmlSerializer support in svcutil. 2011-06-14 17:58:26 +09:00
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 f583e1e938 Revert previous XmlSerializerMessageContractImporter implementation.
XsdDataContractImporter is not XmlSerializer-based, while this class is.
2011-05-11 18:40:15 +09:00
Atsushi Eno 75815614e7 ongoing XmlSerializerMessageContractImporter work.
It is part of bugfix #670945.
2011-05-09 22:58:18 +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 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 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 f69b25e294 2010-02-22 Atsushi Enomoto <[email protected]>
* ServiceContractGenerator.cs : fix duplicate output.


svn path=/trunk/mcs/; revision=152160
2010-02-22 08:03:58 +00:00
Atsushi Eno 488e48ee80 2010-02-19 Atsushi Enomoto <[email protected]>
* ServiceContractGenerator.cs : add missing #ifs.


svn path=/trunk/mcs/; revision=152049
2010-02-19 07:27:18 +00:00
Atsushi Eno 8f8557ce15 2010-02-19 Atsushi Enomoto <[email protected]>
* 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
2010-02-19 04:50:07 +00:00
Atsushi Eno dc6e14ed54 2010-02-09 Atsushi Enomoto <[email protected]>
* 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
2010-02-09 09:36:44 +00:00
Atsushi Eno f4fcfed91e 2010-01-28 Atsushi Enomoto <[email protected]>
* 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
2010-01-28 11:41:47 +00:00
Atsushi Eno 4c1f955fc7 2009-12-18 Atsushi Enomoto <[email protected]>
* 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
2009-12-18 15:42:32 +00:00
Atsushi Eno 9ae92db947 2009-12-18 Atsushi Enomoto <[email protected]>
* ServiceContractGenerator.cs :
	  add support for EventBasedAsynchronousMethods (3.5 SP1 / 2.1).


svn path=/trunk/mcs/; revision=148754
2009-12-18 13:46:42 +00:00
Atsushi Eno fcb24db9e4 2009-10-01 Atsushi Enomoto <[email protected]>
* ServiceContractGenerator.cs : fixed sync client generator that
	  incorrectly exited in the middle of proxy generator.

	* ServiceContractGeneratorTest.cs : new test.

	* System.ServiceModel_test.dll.sources:
	  add ServiceContractGeneratorTest.cs.


svn path=/trunk/mcs/; revision=143160
2009-10-01 14:52:08 +00:00
Atsushi Eno a88efb6f01 2009-08-10 Atsushi Enomoto <[email protected]>
* 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
2009-08-10 13:30:34 +00:00
Atsushi Eno aae196a7f4 2009-08-10 Atsushi Enomoto <[email protected]>
* ServiceContractGenerator.cs,
	  OperationContractGenerationContext.cs : support extensions i.e.
	  IServiceContractGenerationExtension and IOperation...(ditto) .


svn path=/trunk/mcs/; revision=139630
2009-08-10 11:38:23 +00:00
Atsushi Eno 6730801610 2009-08-10 Atsushi Enomoto <[email protected]>
* 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
2009-08-10 07:16:23 +00:00
Atsushi Eno 707e1e5a84 2009-02-26 Atsushi Enomoto <[email protected]>
* ServiceContractGenerator.cs : ClientBase<> argument type must be
	  class (the class itself is to be fixed soon as well).


svn path=/trunk/mcs/; revision=128055
2009-02-26 05:06:53 +00:00
Atsushi Eno a66928a950 2009-02-04 Atsushi Enomoto <[email protected]>
* ServiceContractGenerator.cs : add async operation support (might
	  be hacky under some condition).


svn path=/trunk/mcs/; revision=125655
2009-02-04 08:11:13 +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