Commit Graph
20 Commits
Author SHA1 Message Date
Ankit Jain 736d225d76 [webservices] Extensions can be unknown XmlElements also, fix.
* class/System.Web.Services/System.Web.Services.Description/BasicProfileChecker.cs:
Extensions can be XmlElement or ServiceDescriptionFormatExtension.
* class/System.Web.Services/System.Web.Services.Description/ServiceDescription.cs:
(AddExtensionNamespaces): Likewise. Also, ignore namespaces from
XmlElement, as we retain and write them out as-is.
(WriteExtension): Emit the XmlElement as-is.
* class/System.Web.Services/Test/System.Web.Services.Description/ServiceDescriptionTest.cs:
Update to write out the wsdl also.
2011-02-04 01:02:09 +05:30
Lluis Sanchez 2adc0863aa 2010-03-03 Lluis Sanchez Gual <[email protected]>
* ServiceDescriptionCollection.cs: When looking for bindings and other
	items, look in the list instead of the namespace table, since the
	collection may have several description documents with the same
	namespace.
	* ProtocolImporter.cs: Same as above. A schemas collection can have
	more than one schema with the same name, so we can use the namespace
	indexer to find schemas.
	* BasicProfileChecker.cs: Added null check.


svn path=/trunk/mcs/; revision=152948
2010-03-03 16:22:56 +00:00
Atsushi Eno 752b91ca2e 2008-12-18 Atsushi Enomoto <[email protected]>
* BasicProfileChecker.cs : /definitions/message/part could omit
	  name attribute and it should not cause null key error.


svn path=/trunk/mcs/; revision=121828
2008-12-19 03:57:03 +00:00
Atsushi Eno a9c2b070ba 2008-12-09 Atsushi Enomoto <[email protected]>
* BasicProfileChecker.cs : reimplemented R2305 that turned out to
	  be wrong on fixing bug #443095 (fixed).

	* 443095.wsdl, WebServicesInteroperabilityTest.cs : added
	  new test for R2305 checker.


svn path=/trunk/mcs/; revision=121095
2008-12-09 13:47:07 +00:00
Atsushi Eno dc51e346bf 2008-10-28 Atsushi Enomoto <[email protected]>
* BasicProfileChecker.cs : use indexer instead of Add() for
	  collected MessagePart table. Fixed bug #434892.


svn path=/trunk/mcs/; revision=117243
2008-10-28 09:32:46 +00:00
Atsushi Eno 29a6d49636 2008-07-01 Atsushi Enomoto <[email protected]>
* BasicProfileChecker.cs : it does not really resolve relative URI in
	  <import> element. It caused error, which should be reported, but
	  .net ignores it. It must be LAMESPEC. Anyways added comments.

	* WebServicesInteroperabilityTest.cs : new test. wsdl with <import>
	  should not result in an error.
	* check-import.wsdl, check-import2.wsdl : test helper files.

	* System.Web.Services_test.dll.sources :
	  added WebServicesInteroperabilityTest.cs.
	* Makefile: updated EXTRA_DISTFILES.


svn path=/trunk/mcs/; revision=107006
2008-07-01 20:17:46 +00:00
Konstantin Triger 586fedb02d enable looking the documents up by namespace
svn path=/trunk/mcs/; revision=74746
2007-03-21 16:01:49 +00:00
Konstantin Triger 09aeb135e0 fix validation of the R2401 rule
svn path=/trunk/mcs/; revision=74064
2007-03-11 13:31:48 +00:00
Atsushi Eno 474705e224 2006-12-14 Atsushi Enomoto <[email protected]>
* BasicProfileChecker.cs : fixed R2305 check, which did wrong check
	  on Operations.
	* Operation.cs : ParameterOrder should not contain empty strings.
	* WebServicesInteroperability.cs : they are all done. All wrong
	  behaviors should be regarded as bugs.


svn path=/branches/atsushi/mcs/; revision=69471
2006-12-14 11:43:16 +00:00
Atsushi Eno 0d15674550 2006-12-12 Atsushi Enomoto <[email protected]>
* BasicProfileChecker.cs :
	  Finished all rule review and implementation.


svn path=/branches/atsushi/mcs/; revision=69393
2006-12-12 12:43:28 +00:00
Atsushi Eno e06c15a00a 2006-12-12 Atsushi Enomoto <[email protected]>
* OperationCollection.cs, OperationMessageCollection.cs:
	  added internal Find() to find an item by name.
	* BasicProfileChecker.cs : implemented R2803, R2710, R2711, R2716,
	  R2717, R2726, R2718, R2720, R2721, R2754 and R2723 (in order in
	  the WS-BP1.1 spec).


svn path=/branches/atsushi/mcs/; revision=69389
2006-12-12 10:57:36 +00:00
Atsushi Eno 5bc772a3f6 2006-12-11 Atsushi Enomoto <[email protected]>
* BasicProfileChecker.cs : more rule review, with Basic Profile TAD.
	  Implemented some more rules: R2304-R2306.


svn path=/branches/atsushi/mcs/; revision=69305
2006-12-11 10:16:27 +00:00
Atsushi Eno ac37997c74 merged from trunk.
svn path=/branches/atsushi/mcs/; revision=68566
2006-11-28 08:36:14 +00:00
Atsushi Eno 6aa92ee31b 2006-11-14 Atsushi Enomoto <[email protected]>
* System.Web.Services.dll.sources : removed obsolete WsiClaims.cs.

	* WebServiceBindingAttribute.cs, WebServiceAttribute.cs :
	  2.0 API fixes (WsiClaims -> WsiProfiles).
	* WsiClaims.cs : removed obsolete type.

	* ConformanceChecker.cs, WebServicesInteroperability.cs,
	  BasicProfileViolation.cs, BasicProfileChecker.cs:
	  2.0 API fixes (WsiClaims -> WsiProfiles).

	* SoapHttpClientProtocol.cs : 2.0 API fix (WsiClaims -> WsiProfiles).


svn path=/trunk/mcs/; revision=67831
2006-11-14 10:29:41 +00:00
Lluis Sanchez 3327754d83 svn path=/trunk/mcs/; revision=64924 2006-09-05 11:31:58 +00:00
Lluis Sanchez 4856cb6a97 * BasicProfileChecker.cs: Some small fixes.
* FaultBinding.cs: Removed useless code.
	* HttpSimpleProtocolImporter.cs, SoapProtocolImporter.cs: Take into account
	  that now we may be generating code for a binding which is not referenced
	  by any port. In this case Port is null.
	* MessageBinding.cs: Properly set the parent operation binding.
	* OperationBinding.cs: When adding messages, set its parent property.
	* ProtocolImporter.cs: Support generation of proxies for wsdl documents
	  that do not have any Service entry. In this case, it now generates
	  a proxy for every binding.

svn path=/trunk/mcs/; revision=33157
2004-09-01 14:09:56 +00:00
Lluis Sanchez ce02668fc1 * BasicProfileChecker.cs: Implemented more rules.
* ConformanceChecker.cs: Added service list property in
	  ConformanceCheckContext.
	* MessagePart.cs: Added some convenient internal properties.
	* OperationMessageCollection.cs: Added property for getting the fault
	  message.
	* ServiceDescriptionFormatExtensionCollection.cs: The find method now
	  can return subclasses of the provided class.
	* WebServicesInteroperability.cs: Set the context schema when processing
	  a schema.

svn path=/trunk/mcs/; revision=32758
2004-08-24 14:34:19 +00:00
Lluis Sanchez f426954758 * BasicProfileChecker.cs, ConformanceChecker.cs,
WebServicesInteroperability.cs: Fixed build errors. I commited before
	  it was ready :-(.

svn path=/trunk/mcs/; revision=31571
2004-07-28 17:39:28 +00:00
Lluis Sanchez 52620b29fb * BasicProfileChecker.cs: Added checks for R2101, R2102, R2105, R2110, R2111
* ConformanceChecker.cs: Added check methods for schema objects.
	* WebServicesInteroperability.cs: Added checks for schema objects.

svn path=/trunk/mcs/; revision=31539
2004-07-28 09:07:44 +00:00
Lluis Sanchez 18de07ff81 * ConformanceChecker.cs, BasicProfileChecker.cs: New files that implement
the basic infrastructure for basic profile conformance checking.
	* BasicProfileViolation.cs: Take normative information from the rule object.
	* BasicProfileViolationCollection.cs: Added Add method.
	* ServiceDescriptionFormatExtension.cs: Little fix.
	* WebServicesInteroperability.cs: Implemented basic support for conformance
	  checking.

svn path=/trunk/mcs/; revision=31124
2004-07-14 10:51:41 +00:00