Commit Graph
19 Commits
Author SHA1 Message Date
Atsushi Eno 1f4684cd40 2010-06-17 Atsushi Enomoto <[email protected]>
* ServiceHostBase.cs : retrieve MessageVersion and raise an error
	  if there is none. (Check this earlier than building a listener.)

	* ChannelDispatcher.cs : MessageVersion check is moved to
	  ServiceHostBase.

	* ServiceMetadataExtension.cs : overwrite MessageVersion to use None.
	  (The only special case I found for ChannelDispatcher.MessageVersion.)

	* CustomBindingTest.cs : add tests for MessageVersion check on Open().

	* MetadataExchangeBindingsTest.cs : make sure that special casing of
	  MessageVersion does not happen at this layer.


svn path=/trunk/mcs/; revision=159061
2010-06-17 10:48:55 +00:00
Atsushi Eno bbf33e9aa2 2010-04-23 Atsushi Enomoto <[email protected]>
* HttpListenerManager.cs : fixed the issue that mex_info is never
	  retrieved from the latest channel listener (which could be other
	  listener than the one which was set mex info).

	* ServiceMetadataExtension.cs : raise an error if it failed to set
	  mex info. (Make it safer.)


svn path=/trunk/mcs/; revision=155991
2010-04-23 10:28:49 +00:00
Atsushi Eno c9f0b1759e 2010-04-23 Atsushi Enomoto <[email protected]>
* ServiceHostBase.cs : add host-to-http-listener mapping so that
	  they can be managed per host.

	* HttpTransportBindingElement.cs,
	  HttpChannelListener.cs,
	  HttpListenerManager.cs : add host-to-http-listener mapping so that
	  they can be managed per host.

	* ServiceMetadataExtension.cs : reflect DispatcherBuilder change.


svn path=/trunk/mcs/; revision=155974
2010-04-23 05:26:17 +00:00
Atsushi Eno c6b58253cb 2010-03-24 Atsushi Enomoto <[email protected]>
* ServiceMetadataExtension.cs : compare "wsdl" parameter in case-
	  insensitive manner.


svn path=/trunk/mcs/; revision=154109
2010-03-24 05:41:02 +00:00
Atsushi Eno cb40d0e7c7 2010-03-17 Atsushi Enomoto <[email protected]>
* ServiceMetadataExtension.cs, WsdlExporter.cs :
	  implement ExportEndpoints() and use it.


svn path=/trunk/mcs/; revision=153760
2010-03-17 13:19:09 +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 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 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 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 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 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
Jb Evain bdd0809c70 move to from olive to mcs
svn path=/trunk/mcs/; revision=111187
2008-08-20 21:24:37 +00:00