* 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
* ServiceDescription.cs : added soap12 namespace mapping in output.
* ServiceDescriptionCollection.cs,
ServiceDescriptionImporter.cs : fixed an issue that two ImportInfos
are processed. Make Importer.AddServiceDescription() independent
of ServiceDescriptionCollection.
svn path=/branches/atsushi/mcs/; revision=69490
* ServiceDescription.cs : add [XmlIgnore] to ValidationWarnings.
(yes, it is a collection, thus we need explicit attribute.)
svn path=/trunk/mcs/; revision=67832
* 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
implies it.
* ServiceDescription.cs: Added TARGET_JVM to workaround lack of TARGET_JVM
support for 'new T()' in generics.
svn path=/trunk/mcs/; revision=64227
* 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
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
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
* 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
* ServiceDescription.cs:
Changed the creation of the XmlSerializer after
consulting the System.Xml.Serialization namespace
and trying to serialize a document. Now works somewhat!
svn path=/trunk/mcs/; revision=6200
* ServiceDescription.cs:
Add XmlIgnore attribute to ServiceDescriptions property
* OperationFlow.cs:
* ServiceDescriptionImportWarnings.cs:
Explicitly set values in enumeration to match
.NET.
svn path=/trunk/mcs/; revision=6083