* System.Runtime.Serialization/XsdDataContractImporter:
Check ImportOptions.ReferencedCollectionTypes to determine the proxy type.
* System.ServiceModel.Description/MetadataImporter.cs:
Very simply implementation of the 'State' property.
* System.ServiceModel.Description/DataContractSerializerMessageContractImporter.cs:
Use it here.
* Test/Resources/WSDL: Added some sample .wsdl files for the new tests; adding
these as resources to the test dll.
* Test/System.Runtime.Serialization: Added WsdlHelper.cs,
XsdDataContractImporterTest2.cs and XsdDataContractExportTest2.cs
There is no bug report, the problem has been reported here:
http://stackoverflow.com/questions/12551090/monotouch-wcf-service-reference-cs-errors/12669880
DataContractSerializerMessageContractImporter.IsOperationImported()
did not check the method's return value, so it failed to recognize
methods such as
[OperationContract]
DateTime GetDate ();
as already being imported. This caused the method to be imported with
both the DataContractMessageContractImporterInternal and the
XmlSerializerMessageContractImporterInternal, but the latter does not
resolve type references, see the FIXME in that class.
I also added a new test case for this.
* DataContractSerializerMessageContractImporter.cs :
Pick correct elements to import. Not wrapper elements but each
parameter and return value elements.
svn path=/trunk/mcs/; revision=152078
* ServiceContractGenerator.cs, MessagePartDescription.cs,
DataContractSerializerMessageContractImporter.cs :
add alternative implementation to use XsdDataContractImporter
instead of XmlSchemaImporter hack.
It requires -d:USE_DATA_CONTRACT_IMPORTER and not enabled yet, as
it breaks some WSDL imports (such as memorabilia.hardrock.com).
svn path=/trunk/mcs/; revision=152048
* DataContractSerializerMessageContractImporter.cs : handle duration
and guid which s.w.svc does not handle. Fix part of bug #579011.
svn path=/trunk/mcs/; revision=151593
* DataContractSerializerMessageContractImporter.cs,
ServiceContractGenerator.cs: ArrayOfXxx does not exist in the type
definition code. Use Xxx[] directly instead.
* WsdlImporterTest.cs : added test for processing ArrayOfXxx types.
* service1.wsdl, schema1.xsd, schema2.xsd : new test files (small
repro for bug #577139).
svn path=/trunk/mcs/; revision=151087
* DataContractSerializerMessageContractImporter.cs :
for such an element that does not contain schema type but has a
type reference, use ImportSchemaType().
svn path=/trunk/mcs/; revision=124167
* DataContractSerializerMessageContractImporter.cs :
some refactoring. Process all schemas, including those in WSDLs.
svn path=/trunk/mcs/; revision=124026