Commit Graph
49 Commits
Author SHA1 Message Date
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
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 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
Atsushi Eno 1c8f254702 2009-03-06 Atsushi Enomoto <[email protected]>
* MessageBodyDescription.cs, MessagePartDescription.cs,
	  OperationDescription.cs, MessageDescriptionCollection.cs:
	  clean up extra todos.


svn path=/trunk/mcs/; revision=128754
2009-03-06 04:34:31 +00:00
Atsushi Eno cfd90af68a 2009-03-05 Atsushi Enomoto <[email protected]>
* ContractDescriptionGenerator.cs : fill service known types.

	* ServiceKnownTypeAttribute.cs : correct implementation to populate
	  specified types.


svn path=/trunk/mcs/; revision=128719
2009-03-05 19:10:55 +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 bd43e0658a 2009-02-20 Atsushi Enomoto <[email protected]>
* ChannelFactory_1.cs : it's not going to create ClientRuntime
	  anymore here. Moving to ServiceEndpoint.cs as the first stage.
	* ClientBase.cs : some comment.

	* ServiceEndpoint.cs : moved CreateRuntime() from ChannelFactory<T>.


svn path=/trunk/mcs/; revision=127531
2009-02-20 11:48:21 +00:00
Atsushi Eno 0c744bd73f 2009-02-12 Atsushi Enomoto <[email protected]>
* ContractDescriptionGenerator.cs : do not write body wrapper element
	  when IsWrapped = false.


svn path=/trunk/mcs/; revision=126704
2009-02-12 11:29:36 +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
Atsushi Eno aa73556f40 2009-01-23 Atsushi Enomoto <[email protected]>
* ContractDescriptionGenerator.cs : async begin method with
          [MessageContract] has 3 parameters, not 1.


svn path=/trunk/mcs/; revision=124303
2009-01-23 09:17:58 +00:00
Atsushi Eno 95704c57e7 2009-01-22 Atsushi Enomoto <[email protected]>
* DataContractSerializerMessageContractImporter.cs :
	  for such an element that does not contain schema type but has a
	  type reference, use ImportSchemaType().


svn path=/trunk/mcs/; revision=124167
2009-01-22 05:14:07 +00:00
Atsushi Eno 10fa718746 2009-01-21 Atsushi Enomoto <[email protected]>
* DataContractSerializerMessageContractImporter.cs :
	  some refactoring. Process all schemas, including those in WSDLs.


svn path=/trunk/mcs/; revision=124026
2009-01-21 11:19:59 +00:00
Atsushi Eno 7c73195aae 2009-01-07 Atsushi Enomoto <[email protected]>
* ContractDescription.cs : fix by corcompare.


svn path=/trunk/mcs/; revision=122631
2009-01-07 08:11:44 +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