Commit Graph
17 Commits
Author SHA1 Message Date
Atsushi Eno 492ee760e1 2008-07-01 Atsushi Enomoto <[email protected]>
* ProtocolImporter.cs, HttpSimpleProtocolImporter.cs,
	  SoapProtocolImporter.cs : make classes partial in 2.0 profile.


svn path=/trunk/mcs/; revision=106980
2008-07-01 13:56:49 +00:00
Lluis Sanchez 86d0c73ac2 2005-02-07 Lluis Sanchez Gual <[email protected]>
* HttpSimpleProtocolImporter.cs: Fixed warning.


svn path=/trunk/mcs/; revision=40243
2005-02-07 15:06:34 +00:00
Lluis Sanchez 1826bbddfb * ProtocolImporter.cs, HttpSimpleProtocolImporter.cs,
SoapProtocolImporter.cs: When appsettingurlkey is provided, generate
	  code that reads the url from the config file, instead of doing it at
	  the moment of generation. This fixes bug #68795.

svn path=/trunk/mcs/; revision=35333
2004-10-26 15:29:38 +00:00
Lluis Sanchez 802e76ff67 * HttpSimpleProtocolImporter.cs: Fix import of arrays of primitive types.
svn path=/trunk/mcs/; revision=34574
2004-09-30 21:05:31 +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 7e9f3e17a2 * HttpSimpleProtocolImporter.cs: Implemented internal method to support
the new asyc model.
	* ProtocolImporter.cs: Generate code for the new async model.
	  Added support for generating server skeletons in addition to client
	  proxies.
	* ServiceDescriptionImporter.cs: Removed unneded check.
	* SoapProtocolImporter.cs: Added support for generating server skeletons in
	  addition to client proxies.

svn path=/trunk/mcs/; revision=31479
2004-07-26 18:18:02 +00:00
Lluis Sanchez 173508fd68 * HttpSimpleProtocolImporter.cs: Added null check. The XmlTypeMapping for
the return type will be null if the method returns void.

svn path=/trunk/mcs/; revision=30394
2004-06-25 15:53:30 +00:00
Lluis Sanchez 3680906902 * HttpSimpleProtocolImporter.cs: Import return types as XmlTypeMapping,
not as XmlMemberMapping. This allows the use of the correct AddMetadata
	  method for generating attributes.

svn path=/trunk/mcs/; revision=30105
2004-06-22 09:59:34 +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 63a60a1904 * HttpSimpleProtocolImporter.cs: Add needed XmlInclude attributes to the
generated class. Generate the correct data type for input parameters.
	* SoapProtocolImporter.cs: Like in MS.NET, take the first output parameter
	  as the return value of the method. When generating a header variable,
	  use the type name as the base for the variable name, not the part name.

svn path=/trunk/mcs/; revision=29176
2004-06-10 09:10:25 +00:00
Lluis Sanchez a11fa40df5 * HttpSimpleProtocolImporter.cs: Fixed case of generated methods to match
MS behavior. Always use import input parameters as System.String.
	* ProtocolImporter.cs: Remove _x0020_ from type names.
	* SoapProtocolImporter.cs: Fixed case of generated methods to match
	  MS behavior.

svn path=/trunk/mcs/; revision=28694
2004-06-02 13:43:45 +00:00
Lluis Sanchez bc88cf65e9 * Binding.cs: removed extra XmlIgnore attribute on ServiceDescription
* Import.cs: removed extra XmlIgnore attribute on ServiceDescription
	* Message.cs: removed extra XmlIgnore attribute on ServiceDescription
	* MessageBinding.cs: removed extra DefaultValue attribute from Name,
	removed extra XmlIgnoreAttribute from OperationBinding
	* MessagePart.cs: removed extra XmlIgnore attribute on Message
	* MimeContentBinding.cs: removed extra DefaultValue attribute on Part
	* Operation.cs: removed extra XmlIgnore attribute on PortType
	* OperationBinding.cs: removed extra XmlIgnore attribute on Binding
	* OperationMessage.cs: removed extra XmlIgnore attribute on Operation
	* Port.cs: removed extra XmlIgnore attribute on Service
	* PortType.cs: removed extra XmlIgnore on ServiceDescription
	* Service.cs: removed extra XmlIgnore on ServiceDescription
	* ServiceDescriptionFormatExtension.cs: removed extra XmlIgnore
	  attribute on Parent
	* SoapHeaderBinding.cs: added XmlElement attribute on Fault
	* HttpSimpleProtocolImporter.cs: removed unused variable
	* ServiceDescriptionImporter.cs: removed unused variable
	* SoapProtocolImporter.cs: removed unused variable

svn path=/trunk/mcs/; revision=28615
2004-06-01 08:49:25 +00:00
Lluis Sanchez 4b3cb1844e * ExtensionManager.cs: Create all serializers for soap extensions at once.
* HttpSimpleProtocolImporter.cs: Assign the correct set of schemas to the
	  schema importers (do not mix literal schemas with encoded schemas).
	* ProtocolImporter.cs: Added LiteralSchemas and EncodedSchemas properties.
	  Separation between literal and encoded schemas is needed to avoid importing
	  for example a literal schema as encoded. Also implemented ClasifySchemas,
	  which separates literal from encoded schemas. I really don't like doing it
	  in this way, but I haven't found another way.
	* SoapProtocolImporter.cs: Add type include attributes to the generated
	  proxy classes.

svn path=/trunk/mcs/; revision=23541
2004-02-27 17:31:19 +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 e67e12a9bf * HttpSimpleProtocolImporter.cs: pass the web service class list to the xml
importers to make sure that no data classes are created with the same
	  name as the web service.
	* ProtocolImporter.cs: Use port name as class name only if there is more
	  than one port using the same protocol. This fixes big #52742.

svn path=/trunk/mcs/; revision=22341
2004-01-21 16:27:19 +00:00
Lluis Sanchez fb550b3f54 * HttpSimpleProtocolImporter.cs: In ImportOutMembersMapping(), support part
without element name (use anyType in this case).
	  In GetOutMimeFormatter(), support MimeContentBinding.
	* ProtocolImporter.cs, SoapProtocolImporter.cs: Improved error and warning
	  handling. Minor fixes.
	* DiscoveryReference.cs: In FilenameFromUrl(), improved name generation
	  for some common cases.

svn path=/trunk/mcs/; revision=21073
2003-12-12 17:12:40 +00:00
Lluis Sanchez 1dad30fa74 * ProtocolImporter.cs: Moved some code to ServiceDescriptionImporter.
WebServiceBindingAttribute addition moved to SoapProtocolImporter.
	  Moved GetServiceUrl here (from SoapProtocolImporter).
	* ServiceDescriptionImporter.cs: Added support for HttpGet and HttpPost
	  importers.
	* SoapProtocolImporter.cs: Minor fixes.
	* HttpSimpleProtocolImporter.cs, HttpGetProtocolImporter.cs,
	  HttpPostProtocolImporter.cs: new files that implement HttpGet and HttpPost
	  importers.

svn path=/trunk/mcs/; revision=18691
2003-10-06 21:52:08 +00:00