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
reference.
* SoapProtocolImporter.cs: Create code exportes using the corrent generation
options. Added final attribute to the generated methods (so generated
methods are not virtual any more).
* WebServicesInteroperability.cs: Fixed bug when getting documents from a
reference. Added check for Import elements.
svn path=/trunk/mcs/; revision=31409
features.
* ServiceDescriptionImporter.cs: Implemented some 2.0 methods.
* SoapProtocolImporter.cs: Create xml importers using the correct
ImportContext and generation options.
* WebReference.cs: It is now internal for 1.1 profile. Implemented some
properties.
* CodeGenerationOptions.cs: Made internal in 1.1 profile.
* ImportContext.cs: Implemented.
* XmlSchemaImporter.cs: Implemented some 2.0 constructors.
svn path=/trunk/mcs/; revision=31379
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
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
"any" as return type. In this case, the part of the return message contains
a reference to the type that describes the "any" element.
svn path=/trunk/mcs/; revision=22531
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
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
operations (those don't have output message).
* SoapProtocolReflector.cs: Set the correct element name and
namespace for headers (those are not managed like other data classes).
svn path=/trunk/mcs/; revision=22066
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
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
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
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
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
common code to ServiceDescriptionReflector.
* ServiceDescriptionReflector.cs: Moved some code from ProtocolReflector.cs
svn path=/trunk/mcs/; revision=18473
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
OperationMessageCollection.cs PortCollection.cs PortType.cs
PortTypeCollection.cs ServiceCollection.cs ServiceDescriptionCollection.cs
SoapBodyBinding.cs SoapOperationBinding.cs: Several fixes by Erik LeBel
* ServiceDescriptionImporter.cs:
* ServiceDescriptionSerializerBase.cs: regenerated after the changes in
the service description changes.
* ServiceDescriptionReflector.cs: Fixed generation of message parts in
bare format.
svn path=/trunk/mcs/; revision=18079
* ServiceDescriptionImporter.cs: initial implementation.
* ServiceDescriptionReflector.cs: Added support for bare parameter style.
Added support for encoded format.
svn path=/trunk/mcs/; revision=17855
* OperationMessage.cs: Added default value attribute for Name property.
* ServiceDescription.cs: Changed order of some properties, so they are
serialized in the right order.
Added GetNamespaceList(), which returns the namespaces to add when serializing
the document.
Implemented classes ServiceDescriptionSerializer and ServiceDescriptionWriter,
that extends the XmlSerializer by adding suport for XmlFormatExtensions.
* ServiceDescriptionReflector.cs: Basic implementation (no support for
extensions yet).
* SoapBinding.cs: Fixed namespace name.
* SoapBodyBinding.cs: Added null check in PartsString property.
* SoapOperationBinding.cs: Fixed namespace name.
svn path=/trunk/mcs/; revision=17693
* BindingCollection.cs:
Use base constructor, remove SetParent call
* FaultBindingCollection.cs:
* ImportCollection.cs:
* MessageCollection.cs:
* MessagePartCollection.cs:
* OperationBindingCollection.cs:
* OperationCollection.cs:
* OperationFaultCollection.cs:
* PortCollection.cs:
* PortTypeCollection.cs:
* ServiceCollection.cs:
* ServiceDescriptionFormatExtensionCollection.cs:
Use base constructor
* ServiceDescriptionCollection.cs:
Use base constructor, Remove SetParent method
* ServiceDescriptionBaseCollection.cs:
Make parent object private as according to
class status page.
* OperationMessageCollection.cs:
Use base constructor
Remove excess break's to avoid compiler warning
Remove TODO attribute (confirmed default retval)
svn path=/trunk/mcs/; revision=6776
* ServiceDescriptionBaseCollection.cs:
Only add an element to the hashtable if its GetKey ()
method does not return null.
svn path=/trunk/mcs/; revision=6603