Commit Graph
216 Commits
Author SHA1 Message Date
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Miguel de Icaza 086885471f Removal of NET_1_1 defines and some NET_2_0; Both defines are true these days in Mono, no versions prior to 2.0 are supported 2012-06-01 18:20:12 -04:00
Miguel de Icaza ae0feab435 Removal of NET_1_1 defines and some NET_2_0; Both defines are true these days in Mono, no versions prior to 2.0 are supported 2012-06-01 18:04:24 -04:00
Marek Safar 15af51806d Merge pull request #214 from QuickJack/cd2c570c5543963d987f51080218715407c5d4b9
Fixes 2 problems in Mono's configuration stack.
2012-01-11 11:27:25 -08:00
QuickJack 3c4b6c2d9c Fixes a warning in System.Web..Services.dll 2011-12-29 13:00:26 +01:00
Rolf Bjarne Kvinge d3e516763f [System.Web.Services] Make sure we don't keep results forever when doing async requests. Fixes #2473. 2011-12-13 23:12:57 +01:00
Jb Evain 41f67f6409 Enable the System.Web.Services build for monodroid 2010-09-08 18:48:30 +02:00
Lluis Sanchez 8e1cc840ac 2006-03-03 Lluis Sanchez Gual <[email protected]>
* 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
2010-03-03 16:29:06 +00:00
Gonzalo Paniagua Javier 466c3edeaf 2010-02-15 Gonzalo Paniagua Javier <[email protected]>
* SoapDocumentationHandler.cs: use IndexOf() instead of LastIndexOf()
	when removing the querystring from the url.



svn path=/trunk/mcs/; revision=151754
2010-02-15 23:12:23 +00:00
Jb Evain ce050112ed fix ifdef
svn path=/trunk/mcs/; revision=144357
2009-10-19 09:07:17 +00:00
Miguel de Icaza 083859461d Fix for MonoTouch builds
svn path=/trunk/mcs/; revision=144297
2009-10-17 00:14:41 +00:00
Miguel de Icaza 59c98dc89a + * ServerType.cs: Do not use Activator.CreateInstance, use the call
+	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
2009-10-17 00:11:28 +00:00
Miguel de Icaza cebd4bb08d 2009-09-30 Miguel de Icaza <[email protected]>
* Call the constructors directly for MonoTouch, instead of using
	the Activator.CreateInstance.

	I do not see why we need Activator.CreateInstance *at all* in this
	case, we should just kill that. 

svn path=/trunk/mcs/; revision=143109
2009-10-01 02:41:34 +00:00
Miguel de Icaza 9175bdd20a 2009-09-30 Miguel de Icaza <[email protected]>
* 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
2009-09-30 04:11:38 +00:00
Geoff Norton fe30a24e6f dont crash is config is null
svn path=/trunk/mcs/; revision=141343
2009-09-04 17:21:45 +00:00
Gonzalo Paniagua Javier fa81a173d1 Avoid nullref in 2.0 too
svn path=/trunk/mcs/; revision=141334
2009-09-04 15:15:05 +00:00
Marek Habersack b6969f355f 2009-08-24 Marek Habersack <[email protected]>
* 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
2009-08-24 20:34:57 +00:00
Gonzalo Paniagua Javier 374b8ff979 2009-07-23 Gonzalo Paniagua Javier <[email protected]>
* LogicalMethodInfo.cs: add CacheDuration property.
	* WebServiceHandlerFactory.cs: use CacheDuration.
	Fixes bug #524460.


svn path=/trunk/mcs/; revision=138492
2009-07-23 04:22:15 +00:00
Marek Habersack 2094329d9a 2009-05-05 Marek Habersack <[email protected]>
* 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
2009-05-05 12:30:25 +00:00
Gonzalo Paniagua Javier b2c1e349f2 2009-04-21 Gonzalo Paniagua Javier <[email protected]>
* 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
2009-04-21 22:41:32 +00:00
Vladimir Krasnov 7cdc3e104c * TypeStubManager.cs: fixed TypeStubInfo ctor, default binding name is wrong, when declared in WebServiceBindingAttribute, but not used. fixes. bug number: #345448
svn path=/trunk/mcs/; revision=105411
2008-06-10 11:51:42 +00:00
Atsushi Eno c721ee4746 2008-02-22 Atsushi Enomoto <[email protected]>
* 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
2008-02-22 03:54:18 +00:00
Arina Itkes b4c067c0cb TARGET_JVM: Restoring of the flow before 94231 revision for TARGET_JVM compilation.
svn path=/trunk/mcs/; revision=94234
2008-01-29 08:45:50 +00:00
Marek Habersack 9527079e54 2008-01-24 Marek Habersack <[email protected]>
* 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
2008-01-28 15:47:56 +00:00
Igor Zelmanovich 9a005b9c45 added TARGET_J2EE ifdef
svn path=/trunk/mcs/; revision=92961
2008-01-15 17:00:48 +00:00
Atsushi Eno a0f97b9372 2008-01-08 Arina Itkes <[email protected]>
* 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
2008-01-08 05:41:02 +00:00
Vladimir Krasnov 3a71efc83c * ProtocolReflector.cs: fixed ImportBinding method, ports with the same name declaration when non-default binding used, #345449
* 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
2007-12-11 08:57:00 +00:00
Arina Itkes 2ddee96495 Synchronization fix
svn path=/trunk/mcs/; revision=90416
2007-11-29 08:34:58 +00:00
Miguel de Icaza 6d22e3eceb Revert 90304, it broke the build
svn path=/trunk/mcs/; revision=90306
2007-11-27 10:14:26 +00:00
Arina Itkes d40307b985 Synchronization fix
svn path=/trunk/mcs/; revision=90304
2007-11-27 09:21:29 +00:00
Atsushi Eno 923d995925 2007-11-12 Atsushi Enomoto <[email protected]>
* SoapHttpClientProtocol.cs : compare content-type in case-
	  insensitive manner. Fixed bug #325277.


svn path=/trunk/mcs/; revision=89444
2007-11-12 05:03:44 +00:00
Atsushi Eno 90c51b84d0 2007-11-09 Atsushi Enomoto <[email protected]>
* SoapDocumentationHandler.cs : handle 'schema' HTTP parameter like
	  "...blah.asmx?schema=MySchemaID". (Such URL does not work yet.)


svn path=/trunk/mcs/; revision=89317
2007-11-09 14:45:31 +00:00
Atsushi Eno 19c82f604a 2007-10-29 Atsushi Enomoto <[email protected]>
* SoapException.cs : serialization constructor didn't call base.
	  Fixed bug #337421.


svn path=/trunk/mcs/; revision=88354
2007-10-29 08:27:47 +00:00
Atsushi Eno 1e9a50dbb8 2007-10-10 Atsushi Enomoto <[email protected]>
* Methods.cs : (SoapMethodStubInfo) reverted r74747 which caused
	  bug #332150.

	* ServiceDescriptionReflectorTest.cs : added test for bug #332150.


svn path=/trunk/mcs/; revision=87245
2007-10-10 08:24:53 +00:00
Atsushi Eno 9192e5f7ef 2007-10-05 Atsushi Enomoto <[email protected]>
* HttpWebClientProtocol.cs : implemented EnableDecompression.

	* WebService.cs : [ComVisible].

	* DiscoveryClientProtocol.cs : [ComVisible]

	* ServiceDescriptionCollection.cs : added missing members.


svn path=/trunk/mcs/; revision=86951
2007-10-05 06:52:27 +00:00
Atsushi Eno 7a4ff9289b 2007-10-04 Atsushi Enomoto <[email protected]>
* 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
2007-10-04 08:42:18 +00:00
Marek Habersack 00d889d7c9 2007-09-25 Marek Habersack <[email protected]>
* WebServiceHandlerFactory.cs: WebServiceParser.GetCompiledType
	must be passed a virtual path, not physical one. Fixes bug
	#327809.


svn path=/trunk/mcs/; revision=86290
2007-09-24 22:18:18 +00:00
Robert Jordan f7bea0fc2a 2007-08-21 Robert Jordan <[email protected]>
* ValueCollectionParameterReader.cs (Read):
	Add support for array parameters. Fixes #82519.


svn path=/trunk/mcs/; revision=84680
2007-08-23 06:22:53 +00:00
Vladimir Krasnov 6e593b9568 * TypeStubManager.cs: fixed BindingInfo.ctor, reverted to ONLY_1_1
svn path=/trunk/mcs/; revision=82932
2007-07-29 13:10:13 +00:00
Gert Driesen 1a4b80bfb4 * LogicalMethodInfoTest.cs: Fixed namespace.
* 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
2007-06-16 15:24:58 +00:00
Atsushi Eno be478d56c0 2007-05-11 Atsushi Enomoto <[email protected]>
* SoapServerType.cs : avoid IndexOutOfRange on reflecting 
	  SoapRpcAttribute.

	* SoapServerTypeTest.cs : make sure that SoapRpcServiceAttribute works.


svn path=/trunk/mcs/; revision=77194
2007-05-11 05:36:50 +00:00
Atsushi Eno a175ad4f30 2007-05-08 Atsushi Enomoto <[email protected]>
* 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
2007-05-09 07:21:47 +00:00
Atsushi Eno bf63451764 2007-05-08 Atsushi Enomoto <[email protected]>
* 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
2007-05-08 19:58:38 +00:00
Atsushi Eno 56befb8af5 2007-05-08 Atsushi Enomoto <[email protected]>
* 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
2007-05-08 19:41:38 +00:00
Atsushi Eno 4f0eb6beb2 2007-05-08 Atsushi Enomoto <[email protected]>
* 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
2007-05-08 06:24:32 +00:00
Konstantin Triger 8b8939518a add support for SOAP1.2 to pass action in ContentType HTTP header. See http://www.w3.org/TR/soap12-part0/#L4697
svn path=/trunk/mcs/; revision=76459
2007-04-29 13:27:34 +00:00
Atsushi Eno d0448c2338 2007-04-23 Atsushi Enomoto <[email protected]>
* 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
2007-04-23 13:10:21 +00:00
Konstantin Triger 26aaa7b232 refactoring ensuring uncomplete classes never instantiated and derived classes override relevant methods
svn path=/trunk/mcs/; revision=76052
2007-04-22 10:17:39 +00:00
Konstantin Triger 150f043c8a Use HttpRequest.IsLocal to determine local request in 2.0 profile
svn path=/trunk/mcs/; revision=75612
2007-04-11 14:25:26 +00:00
Konstantin Triger 93ab264618 add support for the 2.0 feature, which enables declaring WebService/WebMethods attributes in interface
svn path=/trunk/mcs/; revision=74747
2007-03-21 16:18:58 +00:00