* Methods.cs: In BuildResponseReflectionMembers, use the operation
name as base name for the response element. Don't use the request
name as base, since it may have been customized using the RequestElementName
property. Fixes bug #548988.
svn path=/trunk/mcs/; revision=152950
* SoapDocumentationHandler.cs: use IndexOf() instead of LastIndexOf()
when removing the querystring from the url.
svn path=/trunk/mcs/; revision=151754
+ directly.
+
+2009-10-02 Miguel de Icaza <[email protected]>
+
+ * ServerType.cs: Refactored all of this code to not use
+ Activator.CreateInstance.
svn path=/trunk/mcs/; revision=144296
* ExtensionManager.cs: Initialize the NET_2_0 pieces with
MonoTouch, but do not register any of the System.Configuration
depending extensions.
BuildExtensionImporters, BuildExtensionReflectors: empty methods
for MOnoTouch.
* ServiceDescriptionImporter.cs, WebReference.cs: Remove
codegeneration features for MonoTouch
2009-09-30 Miguel de Icaza <[email protected]>
* Methods.cs: Empty extensions for MonoTouch for now.
* ServerType.cs: On MonoTouch, we do not support HttpGet or
HttpPost variations yet.
* SoapExtension.cs: Avoid System.Configuration features.
svn path=/trunk/mcs/; revision=142956
* PageParser.cs: 2.0 profile takes advantage of the inputFile
parameter to GetCompiledPageInstance. A check is made whether the
file pointed to by this parameter is inside the application's
virtual path and if not, the compilation request is assumed to
refer to a fake location. Part of fix for bug #463813
2009-08-24 Marek Habersack <[email protected]>
* PageBuildProvider.cs: MapPath now takes a VirtualPath
instance. Part of fix for bug #463813
* BuildManager.cs: public APIs which take virtual path strings as
their parameters got internal counterparts accepting a VirtualPath
instance in place of string. Part of fix for bug #463813
* GenericBuildProvider.cs:
MapPath now takes a VirtualPath instance. Part of fix for bug
#463813
2009-08-24 Marek Habersack <[email protected]>
* SoapDocumentationHandler.cs: get rid of the ugly fake virtual
path hack when creating the helper page. Part of fix for bug
#463813
2009-08-24 Marek Habersack <[email protected]>
* VirtualPath.cs: Added new constructor which takes virtual and
physical paths as well as a boolean marking the instance as
referring to a fake location. Part of fix for bug #463813
svn path=/trunk/mcs/; revision=140548
* Methods.cs: if SoapRpcMethodAttribute doesn't specify the action
or the action name is an empty string, generate the Action in
SoapMethodStubInfo constructor. Fixes bug #459790
svn path=/trunk/mcs/; revision=133574
* HttpSoapWebServiceHandler.cs: provide the full stack trace instead
of just the Message to aid in debugging web service problems.
Bug #496758 fixed.
svn path=/trunk/mcs/; revision=132335
* ProtocolReflector.cs : reverted previous change, which caused
several regressions.
* TypeStubManager.cs : reverted 2007-12-11 change as it caused
several regressions.
* ServiceDescriptionReflectorTest.cs : mark Bug345448() NotWorking.
svn path=/trunk/mcs/; revision=96408
* SoapDocumentationHandler.cs: use a fake virtual path to get the
WSDL help generator.
* WebServiceHandlerFactory.cs: use BuildManager.GetCompiledType
for the 2.0+ profile to get the handler type.
svn path=/trunk/mcs/; revision=94150
* Methods.cs: Fix for compatibility with .NET:
In .NET if SOAPAction is set to empty string it is regarded like
clearly specified with empty string.
2008-01-08 Atsushi Enomoto <[email protected]>
* ServiceDescriptionReflectorTest.cs : added test for empty SOAP
action.
svn path=/trunk/mcs/; revision=92427
* TypeStubManager.cs: fixed TypeStubInfo ctor, default binding name is wrong, when declared in WebServiceBindingAttribute, but not used. fixes#345448
svn path=/trunk/mcs/; revision=91075
* SoapDocumentationHandler.cs : handle 'schema' HTTP parameter like
"...blah.asmx?schema=MySchemaID". (Such URL does not work yet.)
svn path=/trunk/mcs/; revision=89317
* 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.
svn path=/trunk/mcs/; revision=86851
* WebServiceHandlerFactory.cs: WebServiceParser.GetCompiledType
must be passed a virtual path, not physical one. Fixes bug
#327809.
svn path=/trunk/mcs/; revision=86290
* WebClientProtocolTest.cs: Fixed namespace.
* SoapHttpClientProtocolTest.cs: Fixed namespace. Added test for
bug #81886.
* SoapServerTypeTest.cs: Fixed namespace.
* SocketResponder.cs: Sync with copy in System assembly.
* 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.
svn path=/trunk/mcs/; revision=79855
* 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().
* SoapServerTypeTest.cs : added some more tests related to server
methods.
svn path=/trunk/mcs/; revision=76986
* 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().
* SoapServerTypeTest.cs : added some .ctor() tests to verify
validity of attributes on the service class.
svn path=/trunk/mcs/; revision=76969
* 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.
* HttpSimpleProtocolReflector.cs : ServerType -> LogicalTypeInfo.
svn path=/trunk/mcs/; revision=76968
* 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.
* LogicalMethodInfoTest.cs : new test (cosmetic for now).
* System.Web.Services.dll.sources :
removed SoapClientMethod.cs (not in use).
* System.Web.Services_test.dll.sources :
added LogicalMethodInfoTest.cs.
svn path=/trunk/mcs/; revision=76888
* 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.
* SoapServerTypeTest.cs : added new test (one is not working yet).
It will be very useful when we test service type generation.
* System.Web.Services_test.dll.sources: added SoapServerType.cs.
svn path=/trunk/mcs/; revision=76113
* TypeStubManager.cs, Methods.cs: refactor BindingInfo contruction to contain
either declared Bindings or a default one.
svn path=/trunk/mcs/; revision=72089
* HttpSoapWebServiceHandler.cs : read xml with correct
SOAP 1.2 Envelope namespace. To determine the message
version, it must check SOAP version in
DeserializeRequest().
svn path=/branches/atsushi/mcs/; revision=69856
* 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.
svn path=/branches/atsushi/mcs/; revision=69710
* SoapExtensionReflector.cs, SoapProtocolReflector.cs :
Now SOAP bindings are reflected through extension reflectors.
Added implementations for SOAP 1.1 and SOAP 1.2 (2.0 only).
The common SoapBindingExtensionReflector implements reflector
methods which used to be in SoapProtocolReflector. Also
subclassed SoapProtocolReflector to switch SOAP 1.1 and 1.2.
* ServiceDescriptionReflector.cs : under 2.0, use
Soap12ProtocolReflector and export soap12 bindings as well.
* ProtocolImporter.cs : under 2.0 profile, handle SOAP 1.2 encoding
namespace (http://www.w3.org/2003/05/soap-encoding) as well.
* ProtocolReflector.cs : call ReflectDescription(). Added FIXME.
* ServerType.cs : added SOAP 1.2 protocol as a different one from
SOAP 1.1.
* Methods.cs : added Soap12TypeStubInfo.
svn path=/branches/atsushi/mcs/; revision=69528
* SoapProtocolImporter.cs : since Soap12Binding is derived from
SoapBinding, extra care in IsBindingSupported() is needed.
* HttpSoapWebServiceHandler.cs,
SoapHttpClientProtocol.cs : support application/soap+xml.
svn path=/branches/atsushi/mcs/; revision=69521
* WebService.cs : implemented SoapVersion as documented in MSDN.
* SoapProtocolImporter.cs : added trivial IsSoapEncodingPresent().
* 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.
svn path=/branches/atsushi/mcs/; revision=68936