It was set by xamarin-macios when they were still taking the raw .cs source files
but since we switched to prebuilt binaries we need to replace it with
some define we're actually setting in Mono.
Most cases can be replaced by just XAMMAC_4_5 since MOBILE is defined on the xammac profile.
Covers #41564
When multiple methods shared soap header a duplicate key exception would
be thrown.
This issue only occurs on XAMMAC and MOBILE where the non reference
source serializer is still used.
A number of fixes were made to the version in System but these fixes were never
applied to the System.Web.Services version. Merge the two and place the class
in the test-helpers directory to avoid this sort of maintenance problem.
This reverts commit b3fa096e5e.
The Abort () call is problematic on many platforms and is no longer necessary
as we properly close the listening socket since 1103abf383.
Conflicts:
mcs/class/System.Web.Services/Test/System.Web.Services.Protocols/SocketResponder.cs
mcs/class/System/Test/System.Net/SocketResponder.cs
This hang would manifest when running the System test suite, with a thread waiting on a `recv'. This syscall would never be interrupted because the socket it would listen on would never close, as there would still be references to its SafeSocketHandle, so that it would never release the native handle.
The issue came from the fact that, when closing the SocketResponder (via the Dispose and the using), the listening thread would never be aborted/stopped, and it would consequently never be collected, thus never releasing the current socket on which _requestHandler is called, thus never aborting the above `recv' syscall.
The issue would arise with the cooperative GC as well as the premptive one.
* SoapHttpClientProtocolTest.cs: actually those tests fails on mono
on Windows, so mark them as Ignore (not only in 2.0).
svn path=/trunk/mcs/; revision=86811
* TypeElement.cs : disable a test that causes NRE on .NET.
* SoapHttpClientProtocolTest.cs: disabled connection-oriented tests
that do not work fine on .NET 2.0.
svn path=/trunk/mcs/; revision=86802
* 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
* 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
* SocketResponder.cs: Utility class for emulating Web Service backend.
* System.Web.Services_test.dll.sources: added SocketResponder.cs and
SoapHttpClientProtocolTest.cs.
svn path=/trunk/mcs/; revision=71044