Commit Graph
62 Commits
Author SHA1 Message Date
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 f60b8b5b22 2010-02-08 Atsushi Enomoto <[email protected]>
* MetadataBundle.cs, MetadataSet.cs : rename former to latter.

	* System.ServiceModel.dll.sources:
	  renamed MetadataBundle.cs to MetadataSet.cs.


svn path=/trunk/mcs/; revision=151027
2010-02-08 15:25:17 +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 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 c744d2d438 2010-01-19 Atsushi Enomoto <[email protected]>
* ServiceAuthorizationBehavior.cs : implement (it does almost
	  nothing though).

	* ServiceAuthorizationBehaviorTest.cs : it's updated and enabled.
	  Added some more tests.


svn path=/trunk/mcs/; revision=149785
2010-01-19 05:32:14 +00:00
Atsushi Eno 4a82278269 2010-01-13 Atsushi Enomoto <[email protected]>
* ContractDescriptionGenerator.cs : fill Operation.Faults.

	* FaultContractInfo.cs : implement.
	* DispatchOperation.cs, ClientOperation.cs: fill Faults.

	* net_2_1_raw_System.ServiceModel.dll.sources :
	  add FaultContractInfo.cs.


svn path=/trunk/mcs/; revision=149445
2010-01-13 10:37:41 +00:00
Atsushi Eno 5c3aa1b73a 2010-01-08 Atsushi Enomoto <[email protected]>
* ContractDescriptionGenerator.cs : fix GetCallbackContract() to
	  correctly retrieve ServiceContractAttribute from the service type,
	  not the callback type. This ended up to get the bug #567672 sample
	  working (but it will break at some stage as it involves some
	  non-implemented classes).

	* EndpointDispatcher.cs, InputOrReplyRequestProcessor.cs :
	  Pass service type to correctly retrieve ServiceContractAttribute
	  from the service type, not callback type.

	* ServiceProxyGenerator.cs, ServiceRuntimeChannel.cs :
	  Pass service type to correctly retrieve ServiceContractAttribute
	  from the service type, not callback type.

	* CallbackBehaviorAttributeTest.cs : added callback example from
	  bug #567672.


svn path=/trunk/mcs/; revision=149226
2010-01-08 10:40:46 +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 6cdbcb9e87 2009-12-18 Atsushi Enomoto <[email protected]>
* ServiceMetadataExtension.cs : added a couple of FIXME comments.


svn path=/trunk/mcs/; revision=148752
2009-12-18 13:44:13 +00:00
Atsushi Eno 26dbfb8ecc 2009-12-01 Atsushi Enomoto <[email protected]>
* ClientCredentials.cs : more SL3 changes.

	* ClientBase.cs, ChannelFactory_1.cs, ChannelFactory.cs :
	  more SL3 changes.


svn path=/trunk/mcs/; revision=147179
2009-12-01 06:33:53 +00:00
Atsushi Eno 68982173b6 2009-11-25 Astushi Enomoto <[email protected]>
* net_2_1_raw_System.ServiceModel.dll.sources, Dummy_2_1.cs:
	  reflected a couple of SL3 updates.

	* EndpointAddress10.cs : added it to the 2.1 build for SL3 API.

	* MessageHeaders.cs
	  SecurityBindingElement.cs
	  LocalClientSecuritySettings.cs
	  TransportSecurityBindingElement.cs
	  FaultConverter.cs : They are now part of SL3 API.

	* ClientCredentials.cs : it is part of SL3 API, so adjusted for it.


svn path=/trunk/mcs/; revision=146952
2009-11-25 22:56:54 +00:00
Atsushi Eno be0e5a8349 2009-10-22 Atsushi Enomoto <[email protected]>
* ServiceMetadataExtension.cs : channelDispatchers is keyed by URL,
	  so it might have been skipped when the URLs are the same for wsdl
	  and help. So, differentiate flags for mex and help, not to be
	  exclusive. This fixes random-ish EndpointNotFound for WSDLs.

	* HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
	  changes.


svn path=/trunk/mcs/; revision=144625
2009-10-22 10:49:04 +00:00
Atsushi Eno 49c65b9fac 2009-10-22 Atsushi Enomoto <[email protected]>
* ServiceMetadataExtension.cs : A few fixes for no-wsdl case: fix
	  wrong html template, and do not throw NRE for the lack of WsdlUrl.


svn path=/trunk/mcs/; revision=144596
2009-10-22 03:15:49 +00:00
Atsushi Eno 8576862d51 2009-10-20 Atsushi Enomoto <[email protected]>
* HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
	  Refactoring on listener manager to correctly handle wsdl and help
	  requests for such case that they conflict in addressing. Now it
	  can correctly distinguish service calls, WSDL requests and help
	  requests when all of them point to "http://localhost/foo.svc"
	  (which is very common case that the user does not change Http*Url).

	* ServiceMetadataExtension.cs : restructure internal channel property
	  so that http channels can cope with it.


svn path=/trunk/mcs/; revision=144419
2009-10-20 06:43:01 +00:00
Atsushi Eno 9a4191a74b 2009-10-16 Atsushi Enomoto <[email protected]>
* ChannelListenerBase.cs : add Properties property to add arbitrary
	  properties handy (only inside this assembly).

	* ServiceHostBase.cs : removed internal dispatcher builder method.

	* ServiceMetadataExtension.cs : Handle all predefined mex bindings.
	  Use DispatcherBuilder directly. Add mex listener property to
	  distinguish the listener from http channel listeners later.


svn path=/trunk/mcs/; revision=144262
2009-10-16 11:57:57 +00:00
Atsushi Eno 9257372ed5 2009-10-15 Atsushi Enomoto <[email protected]>
* ServiceMetadataExtension.cs : when serviceDebug and serviceMetadata
	  shares the same URL, both of them must be set, not being skipped.


svn path=/trunk/mcs/; revision=144225
2009-10-15 19:30:22 +00:00
Atsushi Eno 583e1c1a01 2009-10-15 Atsushi Enomoto <[email protected]>
* ServiceDebugBehavior.cs, ServiceMetadataBehavior.cs,
	  ServiceMetadataExtension.cs : Now HelpPage is differentiated from
	  wsdl page. The help page now outputs correct URL (for WSDL).


svn path=/trunk/mcs/; revision=144224
2009-10-15 19:20:28 +00:00
Atsushi Eno a6a38e04e5 2009-10-15 Atsushi Enomoto <[email protected]>
* ServiceDebugBehavior.cs, ServiceMetadataBehavior.cs,
	  ServiceMetadataExtension.cs : reduce extra args, static isn't
	  required here. Add FIXME comments.


svn path=/trunk/mcs/; revision=144217
2009-10-15 16:42:59 +00:00
Atsushi Eno a64d1bcdaa 2009-10-15 Atsushi Enomoto <[email protected]>
* ServiceMetadataExtension.cs : before fixing lots of wrong code,
	  add primitive help page support to make sure base_uri is bogus.


svn path=/trunk/mcs/; revision=144203
2009-10-15 14:07: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
Geoff Norton 7381abcea4 Put WCF back in to monotouch
svn path=/trunk/mcs/; revision=143021
2009-09-30 15:08:11 +00:00
Atsushi Eno 5e57e4a7dd 2009-09-17 Atsushi Enomoto <[email protected]>
* ServiceMetadataExtension.cs : when its url is requested without
	  any parameters, it simply returns the WSDL, not the help page.


svn path=/trunk/mcs/; revision=142125
2009-09-17 17:59:37 +00:00
Atsushi Eno e059cb3243 2009-09-15 Atsushi Enomoto <[email protected]>
* WebServiceHelper.cs : remove old code.

	* System.ServiceModel.dll.sources: remove WebServiceHelper.cs.


svn path=/trunk/mcs/; revision=141932
2009-09-15 08:41:18 +00:00
Atsushi Eno cd040e80be 2009-09-11 Atsushi Enomoto <[email protected]>
* ServiceHostBase.cs : partly revert dispatcher builder refactoring
	  to fix some ServiceHostBaseTest regressions.

	* ServiceMetadataExtension.cs : reflect ServiceHostBase change.


svn path=/trunk/mcs/; revision=141766
2009-09-11 14:16:40 +00:00
Atsushi Eno e761b63fbb 2009-09-11 Atsushi Enomoto <[email protected]>
* ServiceDebugBehavior.cs : help page enabling properties are true
	  by default (fix regressions).


svn path=/trunk/mcs/; revision=141742
2009-09-11 10:00:41 +00:00
Atsushi Eno f5d6d3167b 2009-09-06 Atsushi Enomoto <[email protected]>
* ContractDescriptionGenerator.cs : default action name is prepended
	  "urn:", and on the other hand do not add extra '/' in such case.

	* HttpRequestChannel.cs : Fix message version member comparison.
	  Double-quote SOAPAction. Remove extra Exception.
	* HttpReplyChannel.cs : ditto for version comparison. Unquote above.
	* HttpRequestContext.cs : when addressing is None, remove action
	  from the message.


svn path=/trunk/mcs/; revision=141394
2009-09-06 10:32:38 +00:00
Atsushi Eno 0ed29e41ae 2009-09-06 Atsushi Enomoto <[email protected]>
* ContractDescriptionGenerator.cs : end method lookup should be
	  done against the type that defines begin method.

	* ClientProxyGenerator.cs : it missed end method argument on
	  generating end method proxy.


svn path=/trunk/mcs/; revision=141393
2009-09-06 02:34:53 +00:00
Atsushi Eno 59c349171c 2009-09-01 Atsushi Enomoto <[email protected]>
* MustUnderstandBehavior.cs : fix build.


svn path=/trunk/mcs/; revision=141046
2009-09-01 13:42:08 +00:00
Atsushi Eno bb799df7b9 2009-09-01 Atsushi Enomoto <[email protected]>
* ClientCredentials.cs, ClientViaBehavior.cs,
	  MustUnderstandBehavior.cs : implement most of the methods.


svn path=/trunk/mcs/; revision=141042
2009-09-01 13:08:32 +00:00
Atsushi Eno 194aaa5431 2009-08-21 Atsushi Enomoto <[email protected]>
* ServiceHostBase.cs : some refactoring to isolate dispatcher
	  builder code from here.

	* ServiceMetadataExtension.cs:
	  some dependent changes to ServiceHostBase.


svn path=/trunk/mcs/; revision=140403
2009-08-21 07:27:43 +00:00
Atsushi Eno 6051696bfd 2009-08-11 Atsushi Enomoto <[email protected]>
* DataContractSerializerOperationBehavior.cs : add missing members.


svn path=/trunk/mcs/; revision=139694
2009-08-11 07:20:13 +00:00
Atsushi Eno 4e5534a936 2009-08-11 Atsushi Enomoto <[email protected]>
* MetadataExchangeClient.cs : add missing async methods.


svn path=/trunk/mcs/; revision=139692
2009-08-11 06:59:48 +00:00
Atsushi Eno 37d821ea9f 2009-08-11 Atsushi Enomoto <[email protected]>
* MetadataResolver.cs : added remaining methods.
	* MetadataExchangeClient.cs : a bit of required changes for above.


svn path=/trunk/mcs/; revision=139691
2009-08-11 06:47:27 +00:00
Atsushi Eno 6c199c5959 2009-08-11 Atsushi Enomoto <[email protected]>
* ServiceDebugBehavior.cs, ServiceMetadataBehavior.cs :
	  add Binding properties. Properties are now auto.
	* ServiceMetadataExtension.cs : take Binding too to build dispatcher.


svn path=/trunk/mcs/; revision=139690
2009-08-11 06:45:58 +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 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 179ab148aa 2009-08-07 Atsushi Enomoto <[email protected]>
* ContractDescriptionGenerator.cs : add new contract getter to
	  create callback contract type (which does not demand
	  ServiceContractAttribute).


svn path=/trunk/mcs/; revision=139548
2009-08-07 06:27:33 +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 9e4d364a6d 2009-08-06 Atsushi Enomoto <[email protected]>
* ClientRuntimeChannel.cs : removing extra deps on ServiceEndpoint.

	* ClientRuntime.cs :
	  .ctor() just needs contract. Fill some properties.

	* ServiceEndpoint.cs : follow ClientRuntime change.


svn path=/trunk/mcs/; revision=139464
2009-08-06 08:39:05 +00:00
Atsushi Eno da98a889f4 2009-07-31 Atsushi Enomoto <[email protected]>
* ServiceEndpoint.cs : ListenUri defaults to Address.Uri.

	* ServiceEndpointTest.cs : new.

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


svn path=/trunk/mcs/; revision=139146
2009-07-31 05:09:24 +00:00
Atsushi Eno 358bd6b145 2009-07-02 Atsushi Enomoto <[email protected]>
* ContractDescriptionGenerator.cs : actually it had to fill all of
	  the interface methods (and implementation methods).

	* ContractDescriptionTest.cs : make sure the contract actually
	  contains operations from the base types.


svn path=/trunk/mcs/; revision=137307
2009-07-02 16:07:53 +00:00
Atsushi Eno 2b471a3555 2009-07-02 Atsushi Enomoto <[email protected]>
* ContractDescriptionGenerator.cs : do not reject derived service
	  contract from another service contract type.

	* ContractDescriptionTest.cs : added test for derived contract type.


svn path=/trunk/mcs/; revision=137288
2009-07-02 12:59:32 +00:00
Atsushi Eno d508398f08 2009-06-10 Atsushi Enomoto <[email protected]>
* ServiceThrottlingBehavior.cs : implement Validate() (nothing to do
	  here).


svn path=/trunk/mcs/; revision=135825
2009-06-10 09:46:23 +00:00
Atsushi Eno 29364a9eb9 Prepare ServiceThorottle implementation.
svn path=/trunk/mcs/; revision=135727
2009-06-09 07:46:31 +00:00
Atsushi Eno b430f47799 svn:eol-style native.
svn path=/trunk/mcs/; revision=135653
2009-06-08 09:21:35 +00:00
Atsushi Eno cb495e2901 2009-05-28 Atsushi Enomoto <[email protected]>
* ContractDescriptionGenerator.cs : fill ProtectionLevel by
	  OperationContractAttribute.


svn path=/trunk/mcs/; revision=134954
2009-05-28 14:29:37 +00:00
Atsushi Eno 27ffe029c5 2009-05-13 Atsushi Enomoto <[email protected]>
* ServiceCredentials.cs : IServiceBehavior.Validate() should not
	  throw NIE. No check so far.


svn path=/trunk/mcs/; revision=134049
2009-05-13 11:03:04 +00:00