* class/System.Web.Services/System.Web.Services.Description/BasicProfileChecker.cs:
Extensions can be XmlElement or ServiceDescriptionFormatExtension.
* class/System.Web.Services/System.Web.Services.Description/ServiceDescription.cs:
(AddExtensionNamespaces): Likewise. Also, ignore namespaces from
XmlElement, as we retain and write them out as-is.
(WriteExtension): Emit the XmlElement as-is.
* class/System.Web.Services/Test/System.Web.Services.Description/ServiceDescriptionTest.cs:
Update to write out the wsdl also.
* ServiceDescription.cs : fill RetrievalUrl by string.Empty
by default.
* ServiceDescriptionTest.cs : check RetrievalUrl before/after Read().
Sadly it does not provide the actual URL...
svn path=/trunk/mcs/; revision=107004
* wsdl-1.1.xsd : imported from the spec site (schemas.xmlsoap.org)
to be used for ServiceDescription.Schema.
* ServiceDescription.cs : added Schema property and validating Read()
overloads.
* ServiceDescriptionTest.cs : added test for invalid Read() inputs.
* Makefile : added *.wsdl to the build.
Added wsdl and genxs to EXTRA_DISTFILES.
svn path=/trunk/mcs/; revision=67815
* ServiceDescriptionTest.cs (Extensions) New test.
(CheckExtensions):
(CheckXmlElement): New. Helper methods.
* test.wsdl: Test wsdl.
In class/System.Web.Services/System.Web.Services.Description:
* wsdl.genxs: Call ReadExtension for all unknown elements.
* ServiceDescription.cs (ServiceDescription.ReadExtension): Add
XmlDocument param. For NET_2_0, add any elements with no corresponding
extensions to the DocumentableItem.Extensions property.
(ServiceDescriptionSerializer.Serialize): Use
WriteRoot_ServiceDescription instead of WriteTree.
(ServiceDescriptionSerializer.Deserialize): Use
ReadRoot_ServiceDescription instead of ReadTree.
* ServiceDescriptionSerializerBase.cs: Regenerate.
svn path=/trunk/mcs/; revision=60216
* ServiceDescriptionTest.cs (ExtensibleAttributes): New test.
In class/System.Web.Services/System.Web.Services.Description:
* DocumentableItem.cs (ExtensibleAttributes):
(Extensions): Add missing NET_2_0 properties.
* Port.cs:
* OperationBinding.cs:
* MessagePart.cs
* Binding.cs:
* Types.cs:
* Service.cs:
* OperationMessage.cs:
* Message.cs:
* Import.cs:
* Operation.cs:
* PortType.cs: Override and implement Extensions property. Add
XmlFormatExtensionPoint attribute.
* MessageBinding.cs: Abstract Extensions property is not present in
NET_2_0.
* wsdl.genxs: Update to process unknown attributes as ExtensibleAttributes in NET_2_0.
* ServiceDescriptionSerializerBase.cs: Regenerated from wsdl.genxs
* ServiceDescription.cs (ServiceDescription.AddUnknownAttribute): New. Add attribute to
attributes collection.
(ServiceDescription.SetExtensibleAttributes): Set DocumentableItem.ExtensibleAttributes
property.
* ServiceDescriptionFormatExtensionCollection.cs
(ServiceDescriptionFormatExtensionCollection.SetParent): Set only if
value is a ServiceDescriptionFormatExtension type object.
svn path=/trunk/mcs/; revision=59981
* wsdl.genxs, ServiceDescriptionSerializerBase.cs : dependent fix on
XmlSchema.Read(). Fixed bug #76311.
* ServiceDescription.cs : name is null by default otherwise it fails
to be written.
* ServiceDescriptionTest.cs : new file (for part of bug #76311).
* System.Web.Services_test.dll.sources : added ServiceDescriptionTest.cs
svn path=/trunk/mcs/; revision=51260