Commit Graph
27 Commits
Author SHA1 Message Date
Vladimir Krasnov 241ad24e2e * ProtocolReflector.cs: fixed ImportBinding method, ports with the same name declaration when non-default binding used, #345449
svn path=/trunk/mcs/; revision=105410
2008-06-10 11:50:43 +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
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
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
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 09aeb135e0 fix validation of the R2401 rule
svn path=/trunk/mcs/; revision=74064
2007-03-11 13:31:48 +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
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
Duncan Mak 58a0067567 Add MIT license to System.Web.Services.DLL
svn path=/trunk/mcs/; revision=30058
2004-06-21 18:30:28 +00:00
Lluis Sanchez efddffca82 * ExtensionManager.cs: Support more than one XmlFormatExtensionPrefixAttribute
un one soap extension.
	* HttpSimpleProtocolImporter.cs: Made class internal.
	* HttpSimpleProtocolReflector.cs.cs: ReflectMethodBinding(): GET and POST
	  do not use method bindings. Return null.
	* ProtocolReflector.cs: Several fixes: do not generate binding if it doesn't
	  have any operation, avoid port and binding name colisions, and other minor
	  fixes.
	* ServiceDescription.cs: Collect the namespaces to be added to the root
	  element of a serializaed wsdl document from the soap extensions.
	* ServiceDescriptionSerializerBase.cs: Made classes internal.
	* SoapAddressBinding.cs, SoapFaultBinding.cs, SoapOperationBinding.cs,
	  SoapProtocolImporter.cs: Class should not be sealed.
	* SoapBodyBinding.cs: Set the correct class attributes.
	* SoapHeaderBinding.cs: Class should not be sealed. Added missing method.
	* SoapHeaderFaultBinding.cs: Fixed class attributes.

svn path=/trunk/mcs/; revision=22454
2004-01-24 01:44:39 +00:00
Lluis Sanchez d3c367849c * HttpSimpleProtocolReflector.cs, SoapProtocolReflector.cs:
Use GetWebServiceLiteralNamespace instead of WebServiceLiteralNamespace.
	* ProtocolReflector.cs: Port names must be unique in a service description.
	  This fixes bug #53019.
	* ProtocolImporter.cs: Little fix.

svn path=/trunk/mcs/; revision=22272
2004-01-19 20:20:25 +00:00
Lluis Sanchez 4af3876453 * ProtocolReflector.cs: in the case a new ServiceDescription is created,
the name of the BindingInfo was not copied into the new ServiceDescriptor.
	Patch by Yaacov Akiba Slama.

svn path=/trunk/mcs/; revision=21992
2004-01-12 23:13:12 +00:00
Lluis Sanchez f91d32a388 * HttpSimpleProtocolReflector.cs, ProtocolReflector.cs:
Fixed naming of messages.
	* ProtocolImporter.cs: It now iterates through all bindings. It creates
	  a namespace for all bindings.
	* ServiceDescriptionImporter.cs: Some code moved to ProtocolImporter.
	* SoapProtocolImporter.cs: Improved support for RPC format. It now is working.

svn path=/trunk/mcs/; revision=19067
2003-10-15 08:16:44 +00:00
Lluis Sanchez 3a5e1ca53f * HttpSimpleProtocolReflector.cs, SoapProtocolReflector.cs:
Get the namespace for literal types from LogicalTypeInfo, since it may not
	  be the same as the service namespace.
	* ProtocolReflector.cs: Access LogicalTypeInfo to get WS info common to
	  all protocols.
	* ServiceDescription.cs: Added soap/encoded namespace.
	* SoapProtocolImporter.cs: Added some bits of RPC format support.

svn path=/trunk/mcs/; revision=19011
2003-10-14 00:48:53 +00:00
Lluis Sanchez 2338644126 * ProtocolReflector.cs: The ReflectionImporter property now creates a
reflector if the TypeStubInfo does not provide one.
	  Do not create XmlSchemaExporter. Take it from the service reflector, sine
	  it must be reused for all protocol reflectors. Moved some code to
	  SoapProtocolReflector, since it cannot be reused for all reflectors.
	* ServiceDescriptionReflector.cs: Reflect the type for all available
	  protocols.
	* SoapProtocolReflector.cs: Moved here some code from ProtoclReflector.
	* HttpGetProtocolReflector.cs, HttpPostProtocolReflector.cs,
	  HttpSimpleProtocolReflector.cs: new files.

svn path=/trunk/mcs/; revision=18576
2003-10-04 00:39:15 +00:00
Lluis Sanchez 0cf695ef9c * ProtocolReflector.cs: Adapted to the changes in TypeStubInfo. Moved some
common code to ServiceDescriptionReflector.
	* ServiceDescriptionReflector.cs: Moved some code from ProtocolReflector.cs

svn path=/trunk/mcs/; revision=18473
2003-10-01 15:25:51 +00:00
Lluis Sanchez e74705fd42 * ExtensionManager.cs: Read extension types from the configuration file.
Added methods for getting extension importers and reflectors.
	* ProtocolImporter.cs: Implemented.
	* ProtocolReflector.cs: Implemented.
	* ServiceDescriptionCollection.cs: Fixed some methods for finding wsdl
	  elements.
	* ServiceDescriptionImporter.cs: moved most of the code to ProtocolImporter.
	* ServiceDescriptionReflector.cs: moved most of the code to
	  ProtocolReflector and SoapProtocolReflector.
	* SoapProtocolImporter.cs: Implemented.
	* SoapProtocolReflector.cs: Implemented.
	* SoapTransportImporter.cs: Implemented.
	* SoapHttpTransportImporter.cs: Implemented.
	* wsdl.genxs: Added.

svn path=/trunk/mcs/; revision=18345
2003-09-28 11:51:17 +00:00
Tim Coleman 79eac60b9a 2002-07-24 Tim Coleman <[email protected]>
* ProtocolImporter.cs:
        * ProtocolReflector.cs:
                Some implementation of these classes.  MonoTODO's begone!
        * SoapProtocolImporter.cs:
                Changed description to literal string "Soap"
        * SoapProtocolReflector.cs:
                Added a new class based on guesswork and conjecture.

svn path=/trunk/mcs/; revision=6145
2002-07-24 17:09:38 +00:00
Tim Coleman d20843d5e5 2002-07-19 Tim Coleman <[email protected]>
* Binding.cs:
	* BindingCollection.cs:
	* ChangeLog:
	* DocumentableItem.cs:
	* FaultBinding.cs:
	* FaultBindingCollection.cs:
	* HttpAddressBinding.cs:
	* HttpBinding.cs:
	* HttpOperationBinding.cs:
	* HttpUrlEncodedBinding.cs:
	* HttpUrlReplacementBinding.cs:
	* Import.cs:
	* ImportCollection.cs:
	* InputBinding.cs:
	* Message.cs:
	* MessageBinding.cs:
	* MessageCollection.cs:
	* MessagePart.cs:
	* MessagePartCollection.cs:
	* MimeContentBinding.cs:
	* MimeMultipartRelatedBinding.cs:
	* MimePart.cs:
	* MimePartCollection.cs:
	* MimeTextBinding.cs:
	* MimeTextMatch.cs:
	* MimeTextMatchCollection.cs:
	* MimeXmlBinding.cs:
	* Operation.cs:
	* OperationBinding.cs:
	* OperationBindingCollection.cs:
	* OperationCollection.cs:
	* OperationFault.cs:
	* OperationFaultCollection.cs:
	* OperationFlow.cs:
	* OperationInput.cs:
	* OperationMessage.cs:
	* OperationMessageCollection.cs:
	* OperationOutput.cs:
	* OutputBinding.cs:
	* Port.cs:
	* PortCollection.cs:
	* PortType.cs:
	* PortTypeCollection.cs:
	* ProtocolImporter.cs:
	* ProtocolReflector.cs:
	* Service.cs:
	* ServiceCollection.cs:
	* ServiceDescription.cs:
	* ServiceDescriptionBaseCollection.cs:
	* ServiceDescriptionCollection.cs:
	* ServiceDescriptionFormatExtension.cs:
	* ServiceDescriptionFormatExtensionCollection.cs:
	* ServiceDescriptionImportStyle.cs:
	* ServiceDescriptionImportWarnings.cs:
	* ServiceDescriptionImporter.cs:
	* ServiceDescriptionReflector.cs:
	* SoapAddressBinding.cs:
	* SoapBinding.cs:
	* SoapBindingStyle.cs:
	* SoapBindingUse.cs:
	* SoapBodyBinding.cs:
	* SoapExtensionImporter.cs:
	* SoapExtensionReflector.cs:
	* SoapFaultBinding.cs:
	* SoapHeaderBinding.cs:
	* SoapHeaderFaultBinding.cs:
	* SoapOperationBinding.cs:
	* SoapProtocolImporter.cs:
	* SoapTransportImporter.cs:
	* Types.cs:
		Initial implementation

svn path=/trunk/mcs/; revision=5928
2002-07-19 16:55:53 +00:00