[Mono-bugs] [Bug 579432] ServiceContractGenerator imports duplicate code for a service

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Feb 12 08:13:16 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=579432

http://bugzilla.novell.com/show_bug.cgi?id=579432#c1


--- Comment #1 from Atsushi Enomoto <aenomoto at novell.com> 2010-02-12 13:13:15 UTC ---
It's much more complicated than I thought. The Media type in
http://sl.rtl.hu/api/default.svc?xsd=xsd2 used by several xsd elements such as
RetrieveResponse, is without certain target namespace, and derived from another
Media element which is however with a target namespace
"http://schemas.datacontract.org/2004/07/SkyInteractive.Media.Common.Bases".
The base complex type object should be imported in its own namespace and the
CLR type from namespace-less Media should derive from the other CLR type from
the other one.

It might be that the schema import strategy is different from XmlSerialization
(it indeed is) and I might have to reimplement another xsd importer from
scratch (current approach is to hack the classic XmlSchemaImporter output to
adjust to WCF style).

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list