* MetadataExchangeBindings.cs : use WSHttpBinding (it works if other
parts gets fixed).
* MetadataExchangeBindingsTest.cs : new test.
* System.ServiceModel_test.dll.sources :
add MetadataExchangeBindingsTest.cs.
svn path=/trunk/mcs/; revision=153762
* ServiceEndpointCollection.cs : those overrides are rather to check
null arguments, not to skip contract duplicates.
svn path=/trunk/mcs/; revision=153589
* BaseMessagesFormatter.cs : add internal OperationFormatter type
for moonlight/silverlight-sdk compatibility. It mostly wraps
the existing the return value by BaseMessagesFormatter.Create().
* DispatchOperation.cs, ClientOperation.cs, EndpointDispatcher.cs:
use above new type.
svn path=/trunk/mcs/; revision=153493
* DataContractSerializerMessageContractImporter.cs :
Pick correct elements to import. Not wrapper elements but each
parameter and return value elements.
svn path=/trunk/mcs/; revision=152078
* 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 : handle duration
and guid which s.w.svc does not handle. Fix part of bug #579011.
svn path=/trunk/mcs/; revision=151593
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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