* ProtocolReflector.cs: fixed ImportBinding method, ports with the same name declarat...
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Protocols / ChangeLog
index 4b03172ebf9ee62d0ff8fb1f8423a659faa89f7f..18e44ed3168c2e856b1a666881428c16e56e043b 100644 (file)
@@ -1,3 +1,340 @@
+2007-12-11  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * TypeStubManager.cs: fixed TypeStubInfo ctor, default binding name is
+       wrong, when declared in WebServiceBindingAttribute, but not used.
+       fixes #345448 
+
+2007-11-12  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SoapHttpClientProtocol.cs : compare content-type in case-
+         insensitive manner. Fixed bug #325277.
+
+2007-11-09  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SoapDocumentationHandler.cs : handle 'schema' HTTP parameter like
+         "...blah.asmx?schema=MySchemaID". (Such URL does not work yet.)
+
+2007-10-29  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SoapException.cs : serialization constructor didn't call base.
+         Fixed bug #337421.
+
+2007-10-10  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Methods.cs : (SoapMethodStubInfo) reverted r74747 which caused
+         bug #332150.
+
+2007-10-05  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * HttpWebClientProtocol.cs : implemented EnableDecompression.
+
+2007-10-04  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * TypeStubManager.cs: reverted r82932 again. This #if ONLY_1_1 causes
+         NUnit test regressions. It should not be reverted again until
+         appropriate NUnit test case is provided and proper fix is provided
+         that does not cause regressions.
+
+2007-09-25  Marek Habersack  <mhabersack@novell.com>
+
+       * WebServiceHandlerFactory.cs: WebServiceParser.GetCompiledType
+       must be passed a virtual path, not physical one. Fixes bug
+       #327809.
+
+2007-08-21  Robert Jordan  <robertj@gmx.net>
+
+       * ValueCollectionParameterReader.cs (Read):
+       Add support for array parameters. Fixes #82519.
+
+2007-07-29  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * TypeStubManager.cs: fixed BindingInfo.ctor, reverted to ONLY_1_1
+
+2007-06-16  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Fault.cs: In SOAP 1.1, the child elements of Fault may be unqualified.
+       Fixed FaultReader's ReadObject_Fault to only process either unqualified
+       elements or elements in the SOAP 1.1 namespace, hereby fixing part of
+       bug #81886 where an unqualified detail element was not processed. In 
+       FaultWriter, write unqualified detail element. Fixes second part of 
+       bug #81886.
+
+2007-05-11  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SoapServerType.cs : avoid IndexOutOfRange on reflecting 
+         SoapRpcAttribute.
+
+2007-05-08  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SoapServerMethod.cs : Some refactoring. simply use GetMethod() in
+         type stub. WsiClaims could be retrieved from type stub.
+       * SoapServerType.cs : store server methods and implement GetMethod().
+
+2007-05-08  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SoapServerType.cs
+         ServerType.cs
+         Methods.cs : SoapBindingUse and SoapServiceRoutingStyle could just
+         be stored in LogicalTypeInfo (as they are attributed in a web
+         service class), and removed duplicates of them in SoapTypeStubInfo.
+         Invalid attributes on a service class are checked in SoapServerType
+         .ctor().
+
+2007-05-08  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XmlReturnReader.cs
+         XmlReturnWriter.cs
+         TypeStubManager.cs
+         ServerType.cs
+         SoapServerType.cs
+         Methods.cs
+         HttpSimpleTypeStubInfo.cs
+         HttpGetTypeStubInfo.cs
+         HttpPostTypeStubInfo.cs :
+         I once replaced LogicalTypeInfo with ServerType. It was kind of
+         wrong, since ServerType could be instantiated at any time, while
+         LogicalTypeInfo used to be a singleton per static context.
+         Here I re-introduced LogicalTypeInfo and replaced most of
+         ServerType use with this.
+
+2007-05-08  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * LogicalMethodInfo.cs : MethodInfo is null when it is async.
+         Added internal ActualMethodInfo to represent "sync or begin" method
+         (i.e. former MethodInfo).
+       * HttpGetTypeStubInfo.cs, HttpPostTypeStubInfo.cs :
+         MethodInfo -> ActualMethodInfo.
+
+2007-04-29  Konstantin Triger  <kostat@mainsoft.com>
+
+       *  WebServiceHelper.cs, HttpSoapWebServiceHandler.cs: add support for SOAP1.2
+                               to pass action in ContentType HTTP header.
+                               See http://www.w3.org/TR/soap12-part0/#L4697.
+
+2007-04-23  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * TypeStubManager.cs : fix binding enumeration on finding by name.
+         fix wrong ONLY_1_1.
+       * ServerType.cs : ONLY_1_1 is evil enough to make sources confusing.
+         Use it only when it is really needed.
+
+2007-04-11  Konstantin Triger <kostat@mainsoft.com>
+
+       * WebServiceHandlerFactory.cs: Use HttpRequest.IsLocal to determine
+               local request in 2.0 profile.
+
+2007-03-21  Konstantin Triger <kostat@mainsoft.com>
+
+       * TypeStubManager.cs, Methods.cs, ServerType.cs: add support for the 2.0
+               feature, which enables declaring WebService/WebMethods attributes
+               in interface.
+
+2007-03-11  Konstantin Triger <kostat@mainsoft.com>
+
+       * WebServiceHandlerFactory.cs: throw on protocol version mismatch
+               for 2.0 profile only.
+
+2007-03-11  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * TypeStubManager.cs: fixed BindingInfo.ctor, it does not takes Name
+       property from WebServiceBindingAttribute in .net 2.0
+
+2007-03-04  Konstantin Triger <kostat@mainsoft.com>
+
+       * WebServiceHandlerFactory.cs: throw on protocol version mismatch.
+
+2007-02-01  Konstantin Triger <kostat@mainsoft.com>
+
+       * TypeStubManager.cs, Methods.cs: refactor BindingInfo contruction to contain
+               either declared Bindings or a default one.
+
+2007-02-01  Konstantin Triger <kostat@mainsoft.com>
+
+       * HttpSimpleWebServiceHandler.cs: Provide better error info.
+
+2007-01-22  Miguel de Icaza  <miguel@novell.com>
+
+       * HttpSimpleClientProtocol.cs, SoapHttpClientProtocol.cs: Hook up
+       RegisterMapping and UnregisterMapping.
+
+       * HttpWebClientProtocol.cs (RegisterMapping, UnregisterMapping):
+       Keep track of all the async invocations that are created, based on
+       the "userState" key.
+
+       (CancelAsync): Implement. 
+       
+2006-12-22  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * HttpSoapWebServiceHandler.cs : (SerializeFault) requestMessage
+         could be null.
+
+2006-12-21  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * WebServiceHelper.cs :
+         added Soap12FaultToSoapException conversion method (copied from
+         SoapHttpClientProtocol.cs).
+         Added couple of switching fault code getter (by soap12 flag).
+       * SoapMessage.cs: added IsSoap12 property to simplify SOAP 1.2
+         conditional code.
+       * HttpSimpleServerProtocolFactory.cs, WebServiceHelper.cs,
+         HttpSoapWebServiceHandler.cs, SoapHttpClientProtocol.cs :
+         reflected all changes above. Switch 1.2 fault and 1.1 fault, and
+         simplify 1.2 switch.
+
+2006-12-21  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SoapHttpClientProtocol.cs : SOAP 1.2 client should allow text/xml
+         content type. Now bug #79985 is fixed here.
+
+2006-12-21  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * HttpSoapWebServiceHandler.cs : read xml with correct
+         SOAP 1.2 Envelope namespace. To determine the message
+         version, it must check SOAP version in
+         DeserializeRequest().
+
+2006-12-19  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SoapClientMessage.cs : oops, SoapVersion is only 2.0.
+
+2006-12-19  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SoapHttpClientProtocol.cs :
+         Don't use HTTP header when SoapVersion is Soap12.
+       * HttpSoapWebServiceHandler.cs :
+         With SOAP 1.2 message we can only use Body content.
+         Set correct Content-Type for SOAP 1.2 message.
+       * Fault12.cs : added null check.
+       * SoapClientMessage.cs :
+         Set correct Content-Type for SOAP 1.2 message.
+       * WebServiceHandlerFactory.cs :
+         don't reject SOAP 1.2 protocol here.
+
+2006-12-18  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * WebServiceHandlerFactory.cs,
+         SoapServerMessage.cs,
+         HttpSoapWebServiceHandler.cs :
+         set guessed protocol to SoapServerMessage.
+
+2006-12-18  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * TypeStubManager.cs, Methods.cs, SoapServerMethod.cs :
+         added WsiClaims property to TypeStubInfo, to implement
+         SoapServerMethod.WsiClaims.
+
+2006-12-15  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ServerType.cs : added SOAP 1.2 protocol as a different one from
+         SOAP 1.1.
+       * Methods.cs : added Soap12TypeStubInfo.
+
+2006-12-15  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * HttpSoapWebServiceHandler.cs,
+         SoapHttpClientProtocol.cs : support application/soap+xml.
+
+2006-12-04  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * AnyReturnReader.cs : not sure why, but the build must have been
+         broken, and now it is exposed.
+       * SoapHttpClientProtocol.cs : added missing members, left as MonoTODO.
+
+2006-12-01  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * AnyReturnReader.cs : implemented, it does almost nothing.
+
+2006-12-01  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SoapServerMethod.cs : implemented based on SoapMethodStubInfo.
+       * ServerType.cs : added UseEncoded, used in SoapServerType.
+       * SoapServerType.cs : ServiceDefaultIsEncoded is base.UseEncoded,
+         and ServiceNamespace is base.WebServiceNamespace.
+       * SoapHeaderMapping.cs : origin info.
+
+2006-12-01  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SoapDocumentationHandler.cs, SoapExtension.cs :
+         WebServicesSection.Instance -> .Current.
+
+2006-11-30  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SoapHeaderMapping.cs : Now HeaderInfo became this type to implement
+         this class. Remapped some members (e.g. IsUnknownHeader -> Custom).
+       * Methods.cs : so, split HeaderInfo from here.
+       * SoapMessage.cs : Added alias HeaderInfo to SoapHeaderMapping.
+         Renamed some properties.
+
+2006-11-30  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ServerType.cs : Now LogicalTypeInfo became this type to implement
+         this class (and SoapTypeStubInfo to SoapServerType later).
+       * TypeStubManager.cs : so, split LogicalTypeInfo from here.
+       * XmlReturnReader.cs, XmlReturnWriter.cs, Methods.cs,
+         HttpSimpleTypeStubInfo.cs, HttpGetTypeStubInfo.cs,
+         HttpPostTypeStubInfo.cs : LogicalTypeInfo -> ServerType.
+
+2006-11-30  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SoapHttpClientProtocol.cs : looks like (only) the last Text is used
+         instead of the first one in .net.
+
+2006-11-28  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Fault12.cs : they should be all internal.
+
+2006-11-28  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Fault12.cs, fault-12.genxs, Fault12Serializer.cs :
+         SOAP 1.2 Fault serializer and its generation sources.
+       * SoapException.cs :
+         Fixed .ctor() whose initialization was incorrect.
+       * WebServiceHelper.cs, Methods.cs, HttpSoapWebServiceHandler.cs,
+         SoapHttpClientProtocol.cs :
+         handle SOAP 1.2 Fault.
+
+2006-11-22  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SoapHeader.cs WebServiceHelper.cs SoapClientMessage.cs
+         HttpSoapWebServiceHandler.cs SoapHttpClientProtocol.cs:
+         SOAP 1.2 Envelope support has started. Though I will have to
+         change its internals significantly, so it is in my branch.
+
+2006-11-21  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * WebClientProtocol.cs HttpWebClientProtocol.cs SoapException.cs
+         SoapHeaderException.cs HttpSimpleClientProtocol.cs
+         SoapHttpClientProtocol.cs SoapMessage.cs:
+         assorted cosmetic API fixes.
+
+2006-11-19  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * HttpSoapWebServiceHandler.cs: on deserializing the request, do not 
+         close the input stream. Fixed bug #79954. Fix by Juan C. Olivares.
+
+2006-11-16  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * HttpServerProtocol.cs : removed old code.
+       * SoapServerProtocol.cs, ServerProtocol.cs : removed as well, and
+         added up-to-date ones.
+       * SoapHeaderHandling.cs, SoapHeaderMapping.cs,
+         ServerProtocolFactory.cs, SoapServerType.cs,
+         SoapServerProtocolFactory.cs, ServerType.cs,
+         SoapServerProtocol.cs, ServerProtocol.cs,
+         SoapServerMethod.cs :
+         Added stubs for 2.0 server protocol model. For now I don't spend
+         time on these ones but rather fill more important bits like
+         SOAP 1.2 support.
+
+2006-11-15  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SoapHeaderException.cs, SoapException.cs, SoapFaultSubcode.cs,
+         Soap12FaultCodes.cs : API fixes, mostly for SoapFaultSubCode.
+
+2006-11-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SoapHttpClientProtocol.cs : 2.0 API fix (WsiClaims -> WsiProfiles).
+
 2006-09-06  Lluis Sanchez Gual <lluis@novell.com> 
 
        * ValueCollectionParameterReader.cs, MimeFormatter.cs: Support enums in