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
* 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
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
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
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
* 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
* 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
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
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
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
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