Commit Graph
548 Commits
Author SHA1 Message Date
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
Noam Lampert 44116a3b5c Fix Java build system.
svn path=/trunk/mcs/; revision=93339
2008-01-20 06:05:35 +00:00
Noam Lampert bf365238cb Improve java generation of compiled DefaultWsdlHelpGenerator
svn path=/trunk/mcs/; revision=93169
2008-01-17 16:35:54 +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
Roei Erez f9fea75920 JAVAEE post build step change
svn path=/trunk/mcs/; revision=92129
2008-01-02 21:30:52 +00:00
Sasha Kogan f291e580ee Fix web services test page in java build
svn path=/trunk/mcs/; revision=91892
2007-12-26 13:23:31 +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
Gert Driesen f3d1905da9 * SoapProtocolImporter.cs: Only output Required argument for
SoapHeaderAttribute on .NET 1.0, since it is not used in .NET 1.1 and
higher. Avoids numerous warnings when compiling generated code.

svn path=/trunk/mcs/; revision=88644
2007-11-01 13:40:59 +00:00
Atsushi Eno f32340533a 2007-11-01 Atsushi Enomotot <[email protected]>
* DiscoveryClientProtocol.cs : without setting Url before resolve,
	  it causes NRE on get_BaseUrl().


svn path=/trunk/mcs/; revision=88626
2007-11-01 07:37:18 +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 b51616131d 2007-10-17 Atsushi Enomoto <[email protected]>
* WebServicesSection.cs : r87621 has changed WebConfigurationManager
	  to not read web.config, which caused couple of configuration
	  regressions. So enable ConfigurationManager again.


svn path=/trunk/mcs/; revision=87654
2007-10-17 12:03:41 +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 4c2389c77d 2007-10-05 Atsushi Enomoto <[email protected]>
* WebService.cs : Do not always expect HttpContext existence.
	  Fixed bug #331183.

	* WebServiceTest.cs : new test (for bug #331183).

	* System.Web.Services_test.dll.sources : added WebServiceTest.cs.


svn path=/trunk/mcs/; revision=86996
2007-10-05 16:09:05 +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
Atsushi Eno 8baf8402db 2007-10-04 Atsushi Enomoto <[email protected]>
* WebServicesSection.cs : reverted r83640 which likely caused
	  couple of NUnit regressions on the buildbot. WebConfigurationManager
	  is indeed needed since webServices section is on web.config.
	  ChangeLog was also missing which resulted in some wasted hours :(
	  http://lists.ximian.com/pipermail/mono-patches/2007-August/098511.html


svn path=/trunk/mcs/; revision=86850
2007-10-04 08:17:05 +00:00
Atsushi Eno 8baf35f5a3 2007-10-03 Atsushi Enomoto <[email protected]>
* 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
2007-10-03 14:24:47 +00:00
Atsushi Eno c32b72f16c 2007-10-03 Atsushi Enomoto <[email protected]>
* 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
2007-10-03 11:01:21 +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
Noam Lampert c1498b1027 Update Java build system
svn path=/trunk/mcs/; revision=85398
2007-09-06 10:20:49 +00:00
Gert Driesen d6eb48a3c0 * ServiceDescription.cs: Do not require write access to file.
* DiscoveryRequestHandler.cs: Do not require write access to file.

svn path=/trunk/mcs/; revision=85136
2007-08-31 15:23:26 +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
Konstantin Triger d0153e55d3 remove unneeded dep on web for web service clients
svn path=/trunk/mcs/; revision=83640
2007-08-08 08:04:57 +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
Noam Lampert 1185324139 Rework the way we compile the aspx file and merge the jar. The old schema tended to leave random files and randomly convolute the build
svn path=/trunk/mcs/; revision=78486
2007-06-03 09:28:39 +00:00
Konstantin Triger 8e179a3fe6 set current ServiceDescription to the ConformanceCheckContext
svn path=/trunk/mcs/; revision=77899
2007-05-24 09:49:27 +00:00
Konstantin Triger ed6aafbf02 init context with current checker
svn path=/trunk/mcs/; revision=77721
2007-05-20 14:36:40 +00:00
Konstantin Triger e48d3c63da treat DefaultWsdlHelpGenerator.jvm.aspx as DefaultWsdlHelpGenerator.aspx; correctly handle resources
svn path=/trunk/mcs/; revision=77553
2007-05-17 13:01:14 +00:00
Atsushi Eno 6a9479d40f 2007-05-11 Atsushi Enomoto <[email protected]>
* ProtocolImporter.cs, ServiceDescriptionImporter.cs : when there
	  is no binding item for a supported protocol in a WSDL, skip such
	  protocol and try next protocol, so that it can match HTTPGET-only
	  WSDLs. Part of fix for #81457.

	* ServiceDescriptionImporterTest.cs : added ignored test for #81457.


svn path=/trunk/mcs/; revision=77240
2007-05-11 13:15:28 +00:00
Atsushi Eno 66c11ebef3 2007-05-11 Atsushi Enomoto <[email protected]>
* ServiceDescriptionReflectorTest.cs : added test for 78953 (not
	  working, hard to fix) and 79807 (already fixed).


svn path=/trunk/mcs/; revision=77195
2007-05-11 05:59:02 +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
Adar Wesley 5e4dc3f744 2007-05-07 Adar Wesley <[email protected]>
* ProtocolReflector.cs: added missing method ReflectDescription.
        implementation throws NotImplementedException. (forgot ifdef NET_2_0 in previous commit).


svn path=/trunk/mcs/; revision=76818
2007-05-07 09:32:11 +00:00
Adar Wesley 4b88ed9e56 2007-05-07 Adar Wesley <[email protected]>
* ProtocolReflector.cs: added missing method ReflectDescription.
        implementation throws NotImplementedException.


svn path=/trunk/mcs/; revision=76815
2007-05-07 09:21:52 +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
Noam Lampert 04aadc6c75 svn path=/trunk/mcs/; revision=75427 2007-04-05 11:39:26 +00:00