Commit Graph
78 Commits
Author SHA1 Message Date
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
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 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
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 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 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
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
Raja R Harinath 151ce93e27 Fix compile error
* ServiceDescriptionReflectorTest.cs (NullableContainer): Hide in 1.1 profile.

svn path=/trunk/mcs/; revision=73293
2007-02-22 07:43:41 +00:00
Atsushi Eno e2c6026e56 2007-02-19 Atsushi Enomoto <[email protected]>
* ServiceDescriptionReflectorTest.cs : added test for methods with
	  nullable return type.


svn path=/trunk/mcs/; revision=73121
2007-02-19 15:59:21 +00:00
Atsushi Eno 767960c157 2007-01-19 Atsushi Enomoto <[email protected]>
* ServiceDescriptionImporter.cs : initialize CodeGenerator with C#.
	* SoapProtocolImporter.cs : use XmlMemberMapping.GenerateTypeName()
	  instead of TypeFullName for 2.0 nullable support. Fixed bug #80551.

	* ServiceDescriptionImporterTest.cs : new test.
	* test2.wsdl : new test support file.

	* System.Web.Services_test.dll.sources:
	  Added ServiceDescriptionImporterTest.cs.
	* Makefile : added test2.wsdl to EXTRA_DISTFILES.


svn path=/trunk/mcs/; revision=71319
2007-01-19 07:12:11 +00:00
Gert Driesen da0f3b2ced * SoapHttpClientProtocolTest.cs: Added test for bug #79988.
* 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
2007-01-15 15:42:20 +00:00
Atsushi Eno 2c7ee62485 2006-12-18 Atsushi Enomoto <[email protected]>
* Makefile : make tests run with modified version of
          the libraries.


svn path=/branches/atsushi/mcs/; revision=69678
2006-12-18 18:53:51 +00:00
Atsushi Eno c04c8efdf2 2006-12-15 Atsushi Enomoto <[email protected]>
* ServiceDescriptionFormatExtensionCollectionTest.cs :
	  new test.

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


svn path=/branches/atsushi/mcs/; revision=69529
2006-12-15 08:21:00 +00:00
Atsushi Eno ba9c7395e0 2006-11-15 Atsushi Enomoto <[email protected]>
* WebReference.cs : added missing .ctor().

	* WebReferenceTest.cs : added new test (so minor).

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


svn path=/trunk/mcs/; revision=67905
2006-11-15 12:40:39 +00:00
Atsushi Eno ab2f11f5d9 2006-11-14 Atsushi Enomoto <[email protected]>
* WebReferenceOptions.cs : actually Read() raises invalid operation
	  when it raises an error.

	* WebReferenceOptionsTest.cs :
	  Read() actually causes invalid operation.


svn path=/trunk/mcs/; revision=67863
2006-11-14 17:51:15 +00:00
Atsushi Eno b6ec9e0276 2006-11-14 Atsushi Enomoto <[email protected]>
* web-reference.xsd : fixed namespace URI.
	* web-reference.genxs : genxs file.
	* WebReferenceOptionsSerializer.cs : new file, generated by genxs.
	* WebReferenceOptions.cs : implemented Read().

	* WebReferenceOptionsTest.cs :
	  added test for Read(). Fixed namespace URI.

	* System.Web.Services.dll.sources :
	  added WebReferenceOptionsSerializer.cs.


svn path=/trunk/mcs/; revision=67861
2006-11-14 17:43:32 +00:00
Atsushi Eno a375178906 2006-11-14 Atsushi Enomoto <[email protected]>
* System.Web.Services.dll.sources : added WebReferenceOptions.cs.
	* System.Web.Services_test.dll.sources :
	  added WebReferenceOptionsTest.cs.
	* Makefile: added web-reference.xsd to resources and dist files.

	* ServiceDescriptionImportStyle.cs : added XmlEnum attributes in
	  2.0 profile.
	* WebReferenceOptions.cs : new 2.0 class.
	* web-reference.xsd : new resource for WebReferenceOptions.Schema.

	* WebReferenceOptionsTest.cs : new test.


svn path=/trunk/mcs/; revision=67849
2006-11-14 15:10:23 +00:00
Atsushi Eno 327dbbefde 2006-11-14 Atsushi Enomoto <[email protected]>
* wsdl-1.1.xsd : imported from the spec site (schemas.xmlsoap.org)
	  to be used for ServiceDescription.Schema.
	* ServiceDescription.cs : added Schema property and validating Read() 
	  overloads.

	* ServiceDescriptionTest.cs : added test for invalid Read() inputs.

	* Makefile : added *.wsdl to the build.
	  Added wsdl and genxs to EXTRA_DISTFILES.


svn path=/trunk/mcs/; revision=67815
2006-11-14 07:33:56 +00:00
Ankit Jain 907ce066d1 In class/System.Web.Services/Test/System.Web.Services.Description:
* ServiceDescriptionTest.cs (Ctor): New.

In class/System.Web.Services/System.Web.Services.Description:

	* ServiceDescriptionTest.cs (Ctor): New.


svn path=/trunk/mcs/; revision=65040
2006-09-07 08:52:33 +00:00
Ankit Jain 9df1ff50f2 In class/System.Web.Services/Test/System.Web.Services.Description:
* ServiceDescriptionTest.cs (Namespaces): New.

In class/System.Web.Services/System.Web.Services.Description:

	* wsdl.genxs: Remove readerhooks for "unknownAttribute" and
	"attributes".
	* ServiceDescription.cs (ServiceDescription.AddUnknownAttribute):
	(ServiceDescription.SetExtensibleAttributes): Remove.
	* ServiceDescriptionSerializerBase.cs: Regenerated with genxs (for
	!NET_2_0 profile)
	* ServiceDescriptionSerializerBase2.cs: Generated with genxs2 (for
	NET_2_0 profile)

In class/System.Web.Services:

	* System.Web.Services.dll.sources: Add
	ServiceDescriptionSerializerBase2.cs


svn path=/trunk/mcs/; revision=64937
2006-09-05 13:41:57 +00:00
Konstantin Triger 60829a9bba implemented WebClientProtocol.UseDefaultCredentials()
svn path=/trunk/mcs/; revision=64553
2006-08-30 13:51:51 +00:00
Ankit Jain 9a50adef15 In class/System.Web.Services/Test/System.Web.Services.Description:
* ServiceDescriptionTest.cs (Extensions) New test.
	(CheckExtensions):
	(CheckXmlElement): New. Helper methods.
	* test.wsdl: Test wsdl.

In class/System.Web.Services/System.Web.Services.Description:

	* wsdl.genxs: Call ReadExtension for all unknown elements.
	* ServiceDescription.cs (ServiceDescription.ReadExtension): Add
	XmlDocument param. For NET_2_0, add any elements with no corresponding
	extensions to the DocumentableItem.Extensions property.
	(ServiceDescriptionSerializer.Serialize): Use
	WriteRoot_ServiceDescription instead of WriteTree.
	(ServiceDescriptionSerializer.Deserialize): Use
	ReadRoot_ServiceDescription instead of ReadTree.
	* ServiceDescriptionSerializerBase.cs: Regenerate.

svn path=/trunk/mcs/; revision=60216
2006-05-03 11:04:36 +00:00
Ankit Jain 8e24a975c8 In class/System.Web.Services/Test/System.Web.Services.Description:
* ServiceDescriptionTest.cs (ExtensibleAttributes): New test.

In class/System.Web.Services/System.Web.Services.Description:

	* DocumentableItem.cs (ExtensibleAttributes):
	(Extensions): Add missing NET_2_0 properties.
	* Port.cs:
	* OperationBinding.cs:
	* MessagePart.cs
	* Binding.cs:
	* Types.cs:
	* Service.cs:
	* OperationMessage.cs:
	* Message.cs: 
	* Import.cs: 
	* Operation.cs:
	* PortType.cs: Override and implement Extensions property. Add
	XmlFormatExtensionPoint attribute.

	* MessageBinding.cs: Abstract Extensions property is not present in
	NET_2_0.

	* wsdl.genxs: Update to process unknown attributes as ExtensibleAttributes in NET_2_0.
	* ServiceDescriptionSerializerBase.cs: Regenerated from wsdl.genxs

	* ServiceDescription.cs (ServiceDescription.AddUnknownAttribute): New. Add attribute to
	attributes collection.
	(ServiceDescription.SetExtensibleAttributes): Set DocumentableItem.ExtensibleAttributes
	property.

	* ServiceDescriptionFormatExtensionCollection.cs
	(ServiceDescriptionFormatExtensionCollection.SetParent): Set only if
	value is a ServiceDescriptionFormatExtension type object.


svn path=/trunk/mcs/; revision=59981
2006-04-27 14:26:06 +00:00
Gert Driesen 1acd96adbe * ServiceDescriptionReflectorTest.cs: Use only one include as otherwise the
order of element on MS.NET is not consistent.

svn path=/trunk/mcs/; revision=56562
2006-02-04 09:26:40 +00:00
Gert Driesen 00d83f1d82 * ServiceDescriptionReflectorTest.cs: New test, currently marked NotWorking.
* System.Web.Services_test.dll.sources: Added ServiceDescriptionReflectorTest.cs

svn path=/trunk/mcs/; revision=56561
2006-02-04 08:17:35 +00:00
Raja R Harinath fc8db7f1d7 * TypeElementTest.cs (Ctors1): Don't expect a null-reference exception.
svn path=/trunk/mcs/; revision=55495
2006-01-13 08:31:56 +00:00
Chris Toshok dc2202e42a some new tests
svn path=/trunk/mcs/; revision=55269
2006-01-09 22:17:31 +00:00
Chris Toshok bf683f378c new tests
svn path=/trunk/mcs/; revision=55106
2006-01-05 17:21:17 +00:00
Atsushi Eno d1e3ef0cf8 2005-10-05 Atsushi Enomoto <[email protected]>
* wsdl.genxs, ServiceDescriptionSerializerBase.cs : dependent fix on
	  XmlSchema.Read(). Fixed bug #76311.
	* ServiceDescription.cs : name is null by default otherwise it fails
	  to be written.

	* ServiceDescriptionTest.cs : new file (for part of bug #76311).

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


svn path=/trunk/mcs/; revision=51260
2005-10-05 11:49:57 +00:00
Ben Maurer 4847293c9c more executable bits
svn path=/trunk/mcs/; revision=46569
2005-06-27 16:09:53 +00:00
Ben Maurer b27c8e1534 remove .cvsignore from everywhere, as it is useless on svn
svn path=/trunk/mcs/; revision=46564
2005-06-27 15:55:58 +00:00
Lluis Sanchez 910199642a 2005-06-10 Lluis Sanchez Gual <[email protected]>
* services.xml: Disable some tests on external services
	since they are very unreliable.


svn path=/trunk/mcs/; revision=45765
2005-06-10 15:41:51 +00:00
Lluis Sanchez 9d0b9d4fbb 2005-02-07 Lluis Sanchez Gual <[email protected]>
* client/localhost/TestBinding4Test.cs: Fix build.


svn path=/trunk/mcs/; revision=40242
2005-02-07 15:06:10 +00:00
Raja R Harinath 60d5723a33 (test-clients): Refer to 'nunit-console.exe' in
profile-specific directory.

svn path=/trunk/mcs/; revision=35817
2004-11-08 07:59:26 +00:00
Lluis Sanchez d5792d7b20 * Makefile: Remove error directory on every run.
* wstest.cs: Added a timeout when calling the wsdl tool. No more
	  hangs there.

svn path=/trunk/mcs/; revision=34528
2004-09-29 18:18:47 +00:00
Raja R Harinath a406bfeec0 (test-clients): nunit-console.exe is now in a
profile-specific directory.
Report from Mayank Ritvik <[email protected]>.

svn path=/trunk/mcs/; revision=34511
2004-09-29 10:20:02 +00:00
Lluis Sanchez b51ccef3ae * server/SessionCounter.asmx: Check that Context != null in the constructor.
svn path=/trunk/mcs/; revision=32816
2004-08-25 08:54:35 +00:00
Lluis Sanchez fb4719a1c9 * Conv.asmx.template, Conv.cs.template, client/localhost/ConvDoc*,
server/Conv*: Added tests for unknown headers.
	* proxies.net.xml.gz, wsdlfiles.tar.gz: Updated.

svn path=/trunk/mcs/; revision=30628
2004-07-01 17:29:48 +00:00
Lluis Sanchez 6bf582e92d * WebServiceTest.cs, client/external/BankCodeEJBHomeTest.cs,
client/external/GlobalWeatherTest.cs, client/external/HPcatalogTest.cs,
	  client/external/IODCODESPOSTAUXTest.cs,
	  client/external/TemperatureServiceTest.cs,
	  client/localhost/DataServiceTest.cs,
	  client/localhost/DuplicateArrayTestTest.cs,
	  client/localhost/IncludeTestTest.cs,
	  client/localhost/TestBinding4Test.cs: Use new nunit 2.2 api.

	* server/ConvDocLitWra.asmx, server/ConvDocEncWra.asmx,
	  server/ConvDocLitBar.asmx, server/ConvDocLitWra.asmx,
	  server/ConvRpc.asmx,

	* wstest.cs: Added support for generating tests cases from a template.
	  Useful to test the same case in all formats and protocols.

	* proxies.net.xml.gz, wsdlfiles.tar.gz: Updated.

	* client/localhost/ConvDocEncBarTest.cs,
	  client/localhost/ConvDocLitBarTest.cs,
	  client/localhost/ConvDocLitWraTest.cs,
	  client/localhost/ConvRpcTest.cs,
	  client/localhost/ConvDocEncBar.asmx:
	  Improved tests. Use new nunit 2.2 api.

	* Conv.cs.template: template for ConverterService client tests.

	* Conv.asmx.template: template for ConverterService services.

	* templates.xml: Configuration file for generating the tests.

svn path=/trunk/mcs/; revision=30621
2004-07-01 14:04:31 +00:00
Lluis Sanchez dab9b5e951 * proxies.net.xml.gz: Updated.
* wsdlfiles.tar.gz: Updated.

svn path=/trunk/mcs/; revision=30107
2004-06-22 10:05:08 +00:00
Lluis Sanchez 27659c3160 * Makefile: Fix ms.net api file before the comparison.
* cormissing.xsl: Removed html encoding. Now generates plain text.
	* proxies.net.xml.gz: Updated.
	* services.xml: Updated.
	* wsdlfiles.tar.gz: Updated.
	* wstest.cs: Added option for removing wrong extra classes from ms.net
	  api xml file. Improved checkdiff option.

svn path=/trunk/mcs/; revision=29173
2004-06-10 09:04:47 +00:00
Lluis Sanchez bac90292d1 * Makefile: Changed nunit dll, to make it easier to integrate in the result
web page.
	* wstest.cs: Little fix.

svn path=/trunk/mcs/; revision=28827
2004-06-04 09:23:43 +00:00
Lluis Sanchez c9e20d512a * Makefile: generate client source file list before compiling the test
suite.

svn path=/trunk/mcs/; revision=28752
2004-06-03 09:42:19 +00:00
Lluis Sanchez 8754b186aa * wsdlfiles.tar.gz: New file that contains all test wsdl documents.
* proxies.net.xml.gz: Description of the proxies generated by MS.NET.
	* cormissing.xml: Formatting stuff.

svn path=/trunk/mcs/; revision=28720
2004-06-02 23:52:12 +00:00