Hi Keith, By using "-nodesc -nomarshall", I lost the function of marshalling and unmarshalling.
What I am looking for is a Castor-like XML data-binding solution in C#. Cheers! David On Tue, 22 Feb 2005 13:53:51 -0600, Keith Visco <[EMAIL PROTECTED]> wrote: > > > David are you trying to convert Castor to C# or just your generated Java > objects. If only the latter, just re-generate your java objects with > Castor using the following flags: > > -nodesc -nomarshal > > This will prevent Castor's SourceGenerator from outputting the > descriptor files and the marshal/unmarshal methods. The generated > classes should be pretty clean from that point to be converted into C#. > > If you're trying to convert Castor to C#, well...that certainly might be > painful. > > --Keith > > David Zhao wrote: > > I have tried the Microsoft's Java Language Conversion Assistant 3.0 > > (Beta) to translate my Java codes into C# codes. But the problem is > > my code is based on Castor 's code , Castor's code based on some > > Apache's code. > > > > I could not translate these basic api. It is painful. > > > > > > > > > > On Tue, 22 Feb 2005 17:22:55 +0100, Aziz Hammadi <[EMAIL PROTECTED]> wrote: > > > >>try this link > >> > >>http://msdn.microsoft.com/library/en-us/bpsdk/ > >>BPIG_Ch10_SettingUpProject1048789.asp > >> > >> > >>On Tue, 22 Feb 2005 15:47:27 +0000, David Zhao <[EMAIL PROTECTED]> wrote: > >> > >>>Hi, > >>> > >>>Now, I successfully generate JAVA sources for my XML Shcema by using > >>>castor. > >>> > >>>But I would like to get the similar C# sources. > >>> > >>>Could anyone give me some suggestion: > >>> > >>>1. Is there any Castor-like tools in C# domain? > >>> > >>>2. Or translate the Java sources to C# sources by using some tool? > >>> > >>>Thanks a lot! > >>> > >>>----------------------------------------------------------- > >>>If you wish to unsubscribe from this mailing, send mail to > >>>[EMAIL PROTECTED] with a subject of: > >>> unsubscribe castor-user > >>> > >> > >>----------------------------------------------------------- > >>If you wish to unsubscribe from this mailing, send mail to > >>[EMAIL PROTECTED] with a subject of: > >> unsubscribe castor-user > >> > > > > > > > > > > ----------------------------------------------------------- > > If you wish to unsubscribe from this mailing, send mail to > > [EMAIL PROTECTED] with a subject of: > > unsubscribe castor-user > > > > > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-user > ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-user
