Commit Graph
154 Commits
Author SHA1 Message Date
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
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 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
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
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
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 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
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 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
Konstantin Triger e9b44ea8e7 make FindAll(Type) consistent with Find(Type)
svn path=/trunk/mcs/; revision=74063
2007-03-11 13:29:42 +00:00
Atsushi Eno eef4be3681 2007-02-28 Atsushi Enomoto <[email protected]>
* ServiceDescriptionSerializeBase2.cs : regenerated with the latest
	  genxs.


svn path=/trunk/mcs/; revision=73528
2007-02-28 08:43:49 +00:00
Konstantin Triger 0b6c785a14 emit conformance claims when required
svn path=/trunk/mcs/; revision=73523
2007-02-28 07:08:10 +00:00
Konstantin Triger 0bb596802e undo r73469
svn path=/trunk/mcs/; revision=73470
2007-02-27 14:43:37 +00:00
Konstantin Triger c3fba7e77c consider empty string as nothing for documentation
svn path=/trunk/mcs/; revision=73469
2007-02-27 14:41:22 +00:00
Konstantin Triger e54f1bcd5c Ensure the schemas are available for validation
svn path=/trunk/mcs/; revision=72354
2007-02-06 14:58:57 +00:00
Konstantin Triger 4cda161b68 * ProtocolReflector.cs: throw if not conformant, but declared to be.
* TypeStubManager.cs, Methods.cs: refactor BindingInfo contruction to contain
	either declared Bindings or a default one.

svn path=/trunk/mcs/; revision=72089
2007-02-01 12:52:47 +00:00
Konstantin Triger abae175b9f describe only supported bindings and never HttpPostLocalhost
svn path=/trunk/mcs/; revision=71659
2007-01-25 09:59:09 +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
Atsushi Eno dc0614add2 2006-12-18 Atsushi Enomoto <[email protected]>
* ProtocolReflector.cs, SoapProtocolReflector.cs,
	  ServiceDescriptionReflector.cs :
	  When both SOAP 1.1 and 1.2 bindings are to be imported, it should
	  not emit identical Messages and schema types twice. Hence SOAP
	  reflector now skips duplicates.


svn path=/branches/atsushi/mcs/; revision=69642
2006-12-18 07:41:55 +00:00
Atsushi Eno faec2789db 2006-12-15 Atsushi Enomoto <[email protected]>
* SoapExtensionReflector.cs, SoapProtocolReflector.cs :
	  Now SOAP bindings are reflected through extension reflectors.
	  Added implementations for SOAP 1.1 and SOAP 1.2 (2.0 only).
	  The common SoapBindingExtensionReflector implements reflector
	  methods which used to be in SoapProtocolReflector. Also
	  subclassed SoapProtocolReflector to switch SOAP 1.1 and 1.2.
	* ServiceDescriptionReflector.cs : under 2.0, use
	  Soap12ProtocolReflector and export soap12 bindings as well.
	* ProtocolImporter.cs : under 2.0 profile, handle SOAP 1.2 encoding
	  namespace (http://www.w3.org/2003/05/soap-encoding) as well.
	* ProtocolReflector.cs : call ReflectDescription(). Added FIXME.

	* ServerType.cs : added SOAP 1.2 protocol as a different one from
	  SOAP 1.1.
	* Methods.cs : added Soap12TypeStubInfo.


svn path=/branches/atsushi/mcs/; revision=69528
2006-12-15 08:16:42 +00:00
Atsushi Eno 2943f3b60c 2006-12-15 Atsushi Enomoto <[email protected]>
* ProtocolReflector.cs, SoapExtensionReflector.cs : added
	  ReflectDescription() and its use.


svn path=/branches/atsushi/mcs/; revision=69526
2006-12-15 05:38:20 +00:00
Atsushi Eno 4b15457502 2006-12-15 Atsushi Enomoto <[email protected]>
* SoapProtocolImporter.cs : since Soap12Binding is derived from
	  SoapBinding, extra care in IsBindingSupported() is needed.

	* HttpSoapWebServiceHandler.cs,
	  SoapHttpClientProtocol.cs : support application/soap+xml.


svn path=/branches/atsushi/mcs/; revision=69521
2006-12-15 04:54:38 +00:00
Atsushi Eno 80760f6111 2006-12-14 Atsushi Enomoto <[email protected]>
* SoapProtocolImporter.cs : if the importer is SOAP12, initialize
	  SoapVersion in generated code.
	* ServiceDescriptionImporter.cs,
	  ProtocolImporter.cs : reduce extra argument.
	* ServiceDescriptionSerializerBase2.cs : fix warnings.


svn path=/branches/atsushi/mcs/; revision=69492
2006-12-14 17:13:12 +00:00
Atsushi Eno 90e8fa3f1c 2006-12-14 Atsushi Enomoto <[email protected]>
* ServiceDescription.cs : added soap12 namespace mapping in output.
	* ServiceDescriptionCollection.cs,
	  ServiceDescriptionImporter.cs : fixed an issue that two ImportInfos
	  are processed. Make Importer.AddServiceDescription() independent
	  of ServiceDescriptionCollection.


svn path=/branches/atsushi/mcs/; revision=69490
2006-12-14 15:53:06 +00:00
Atsushi Eno cf9bd63ac4 2006-12-14 Atsushi Enomoto <[email protected]>
* ExtensionManager.cs : added SOAP 1.2 binding extensions.
	* SoapProtocolImporter.cs,
	  ServiceDescriptionImporter.cs :
	  Added SOAP 1.2 protocol importer.
	  Protocol name comparison is case insensitive.


svn path=/branches/atsushi/mcs/; revision=69485
2006-12-14 13:01:17 +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 fdb93e7093 2006-12-12 Atsushi Enomoto <[email protected]>
* WebServicesInteroperability.cs :
	  Format extension could be XmlElement, so don't expect wrong cast.


svn path=/branches/atsushi/mcs/; revision=69297
2006-12-11 06:55:20 +00:00
Atsushi Eno 2a689d12f6 2006-12-12 Atsushi Enomoto <[email protected]>
* ProtocolImporter.cs : (ImportsEncodedNamespace) XmlSchemaExternal
	  could be of other types than XmlSchemaImport.


svn path=/branches/atsushi/mcs/; revision=69294
2006-12-11 05:55:02 +00:00
Atsushi Eno 655dd67c31 2006-12-04 Atsushi Enomoto <[email protected]>
* WebService.cs : implemented SoapVersion as documented in MSDN.

	* SoapProtocolImporter.cs : added trivial IsSoapEncodingPresent().

	* AnyReturnReader.cs : not sure why, but the build must have been
	  broken, and now it is exposed.
	* SoapHttpClientProtocol.cs : added missing members, left as MonoTODO.


svn path=/branches/atsushi/mcs/; revision=68936
2006-12-04 10:20:11 +00:00
Atsushi Eno 69c0e04f93 2006-12-01 Atsushi Enomoto <[email protected]>
* Makefile : added wsdl-1.1-soap.xsd to the build and distfiles.

	* wsdl-1.1-soap.xsd : new file. WSDL 1.1 SOAP binding schema.
	* SoapBinding.cs: implement Schema property.


svn path=/branches/atsushi/mcs/; revision=68822
2006-12-01 10:21:15 +00:00
Atsushi Eno 185aef793e 2006-12-01 Atsushi Enomoto <[email protected]>
* ExtensionManager.cs : WebServicesSection.Instance -> .Current.


svn path=/branches/atsushi/mcs/; revision=68815
2006-12-01 09:15:37 +00:00
Atsushi Eno b6a1f08fbf 2006-11-30 Atsushi Enomoto <[email protected]>
* SoapHeaderMapping.cs : Now HeaderInfo became this type to implement
	  this class. Remapped some members (e.g. IsUnknownHeader -> Custom).
	* Methods.cs : so, split HeaderInfo from here.
	* SoapMessage.cs : Added alias HeaderInfo to SoapHeaderMapping.
	  Renamed some properties.

	* SoapProtocolReflector.cs : Added alias HeaderInfo to
	  SoapHeaderMapping. Renamed some properties.


svn path=/branches/atsushi/mcs/; revision=68741
2006-11-30 13:47:48 +00:00
Atsushi Eno 6a6b12bac7 2006-11-30 Atsushi Enomoto <[email protected]>
* ServerType.cs : Now LogicalTypeInfo became this type to implement
	  this class (and SoapTypeStubInfo to SoapServerType later).
	* TypeStubManager.cs : so, split LogicalTypeInfo from here.
	* XmlReturnReader.cs, XmlReturnWriter.cs, Methods.cs,
	  HttpSimpleTypeStubInfo.cs, HttpGetTypeStubInfo.cs,
	  HttpPostTypeStubInfo.cs : LogicalTypeInfo -> ServerType.

	* HttpSimpleProtocolReflector.cs : LogicalTypeInfo -> ServerType.


svn path=/branches/atsushi/mcs/; revision=68734
2006-11-30 07:06:59 +00:00
Atsushi Eno c5bae95aee 2006-11-30 Atsushi Enomoto <[email protected]>
* SoapHeaderFaultBinding.cs, NamedItem.cs, SoapBinding.cs,
	  MimeXmlBinding.cs, SoapBodyBinding.cs, MimeContentBinding.cs,
	  SoapHeaderBinding.cs, HttpBinding.cs: cosmetic 2.0 API fixes.


svn path=/branches/atsushi/mcs/; revision=68732
2006-11-30 06:56:23 +00:00
Atsushi Eno d32769ae8e 2006-11-30 Atsushi Enomoto <[email protected]>
* System.Web.Services.dll.sources :
	  added BasicProfileViolationEnumerator.cs.

	* BasicProfileViolationEnumerator.cs : new missing 2.0 class.
	* BasicProfileViolationCollection.cs : use it.


svn path=/branches/atsushi/mcs/; revision=68731
2006-11-30 06:54:43 +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 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 0b883c012e 2006-11-15 Atsushi Enomoto <[email protected]>
* WebReferenceOptionsSerializer.cs :
	  (#if NET_2_0) oops, I did it again :-(


svn path=/trunk/mcs/; revision=67891
2006-11-15 08:45:38 +00:00
Atsushi Eno e7ab80b08f 2006-11-15 Atsushi Enomoto <[email protected]>
* web-reference.genxs : fixed <reader> -> <writer>.
	* WebReferenceOptionsSerializer.cs : regenerated.


svn path=/trunk/mcs/; revision=67888
2006-11-15 07:32:07 +00:00
Atsushi Eno fa773d3e17 2006-11-15 Atsushi Enomoto <[email protected]>
* WebService.cs: minor API fixes (attributes).

	* ServiceDescriptionImporter.cs : API fix. Now we can use new
	  WebReferenceOptions.

	* DiscoveryReference.cs: FilenameFromUrl() is public.

	* SoapHeaderException.cs, SoapException.cs, SoapFaultSubcode.cs,
	  Soap12FaultCodes.cs : API fixes, mostly for SoapFaultSubCode.

	* MonoWSDL2.cs : 2.0 API fixes (use WebReferenceOptions)


svn path=/trunk/mcs/; revision=67882
2006-11-15 02:37:11 +00:00
Atsushi Eno e7ac581148 2006-11-14 Atsushi Enomoto <[email protected]>
* WebReferenceOptionsSerializer.cs : oops, surrounding #if NET_2_0
	  is required when it is regenerated.


svn path=/trunk/mcs/; revision=67864
2006-11-14 17:52:58 +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