Calling C#/.NET experts Chalanachithram.com | Topics | Search
Hide Clipart | Log Out | Register | Edit Profile

Last 30 mins | 1 | 2 | 4 hours     Last 1 | 7 Days

Chalanachithram.com DB » TF Industry related » Archive through February 16, 2011 » Calling C#/.NET experts « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Proline
Side Hero
Username: Proline

Post Number: 5940
Registered: 06-2008
Posted From: 99.33.210.32

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 15, 2011 - 06:45 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

solved the bindings generation issue but the actual problem remains unsolved.

I got more or less same code as the tool "xsd2code". Now I have a class for my xml schema. Once I set all the properties through setters, I want to dump the schema object as a string.

how to do it?
No trust in any paper, bit trust in Sakshi.
Top of pagePrevious messageNext messageBottom of page Link to this message

Proline
Side Hero
Username: Proline

Post Number: 5939
Registered: 06-2008
Posted From: 99.33.210.32

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 15, 2011 - 06:40 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

as I mentioned before "import" is treated bit differently in .net-xsd than other tools like castor/xmlbeans/jaxb/etc.

"xsd" expects import schema file names in the command line rather than loading them automatically.
No trust in any paper, bit trust in Sakshi.
Top of pagePrevious messageNext messageBottom of page Link to this message

Dma
Comedian
Username: Dma

Post Number: 1914
Registered: 11-2009
Posted From: 72.222.159.154

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 15, 2011 - 06:30 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Proline:

never mind. solved the problem. stupid .net "xsd"




ela solve chesavo link postu. will be useful for public.
Top of pagePrevious messageNext messageBottom of page Link to this message

Proline
Side Hero
Username: Proline

Post Number: 5938
Registered: 06-2008
Posted From: 99.33.210.32

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 15, 2011 - 06:24 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

by the way, i started liking C#.
No trust in any paper, bit trust in Sakshi.
Top of pagePrevious messageNext messageBottom of page Link to this message

Proline
Side Hero
Username: Proline

Post Number: 5937
Registered: 06-2008
Posted From: 99.33.210.32

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 15, 2011 - 06:22 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

this issue is well known and wonder why MS ignore it.
No trust in any paper, bit trust in Sakshi.
Top of pagePrevious messageNext messageBottom of page Link to this message

Proline
Side Hero
Username: Proline

Post Number: 5936
Registered: 06-2008
Posted From: 99.33.210.32

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 15, 2011 - 06:21 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

never mind. solved the problem. stupid .net "xsd"
No trust in any paper, bit trust in Sakshi.
Top of pagePrevious messageNext messageBottom of page Link to this message

Proline
Side Hero
Username: Proline

Post Number: 5935
Registered: 06-2008
Posted From: 99.33.210.32

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 15, 2011 - 06:07 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

validated the schema with other tools but "xsd" thinks that it is not valid as it is not able to import the schema.

is this common in .net?
No trust in any paper, bit trust in Sakshi.
Top of pagePrevious messageNext messageBottom of page Link to this message

Proline
Side Hero
Username: Proline

Post Number: 5934
Registered: 06-2008
Posted From: 99.33.210.32

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 15, 2011 - 06:05 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

Schema validation warning: Type 'http://xyz.com/:businessobject' is not declared. Line 28, position 9.

issue: I have a "import" with namespace "http://xyz.com/" in which "businessobject" is defined. .NET "xsd" is not able to generate bindings when there is a "import".
No trust in any paper, bit trust in Sakshi.
Top of pagePrevious messageNext messageBottom of page Link to this message

Twitter
Side Hero
Username: Twitter

Post Number: 7414
Registered: 10-2009
Posted From: 151.191.175.204

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 15, 2011 - 05:39 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Proline:

While using .NET default bindings generator (xsd) it always fails,



what is the error in this event ?
Top of pagePrevious messageNext messageBottom of page Link to this message

Ntr_rocks
Moderator
Username: Ntr_rocks

Post Number: 19530
Registered: 04-2009

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 15, 2011 - 05:38 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

I think Twitter can answer..
I M THE MOD.....Be Careful...
Top of pagePrevious messageNext messageBottom of page Link to this message

Proline
Side Hero
Username: Proline

Post Number: 5933
Registered: 06-2008
Posted From: 99.33.210.32

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 15, 2011 - 05:36 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


No trust in any paper, bit trust in Sakshi.
Top of pagePrevious messageNext messageBottom of page Link to this message

Proline
Side Hero
Username: Proline

Post Number: 5932
Registered: 06-2008
Posted From: 99.33.210.32

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 15, 2011 - 04:39 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

bump for .net exparts
No trust in any paper, bit trust in Sakshi.
Top of pagePrevious messageNext messageBottom of page Link to this message

Proline
Side Hero
Username: Proline

Post Number: 5931
Registered: 06-2008
Posted From: 99.33.210.32

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 15, 2011 - 04:07 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

help needed.

I have a xml schema file and trying to generate bindings. While using .NET default bindings generator (xsd) it always fails, I can generate bindings for the same schema in Java successfully. I used a open source tool (xsd2code) which generated bindings but not usable. It is just generating setters and getters (I am not able to print/generate the whole xml object).

Is there any other tool which supports this?
the default xsd is not supporting "import"? is there a work around?
No trust in any paper, bit trust in Sakshi.

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image HASH(0x9b05648){Movie Clipart}
Show / Hide regular icons selection options

Click on following links to open cliparts by Alphabetical Order

 A   B   C   D   E   F   G   H   I   J   K   L   M  

 N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

Show / Hide Filmy icons selection options

Click on following links to open cliparts by Alphabetical Order

 A   B   C   D   E   F   G   H   I   J   K   L   M  

 N   O   P   Q   R   S   T   U   V   W   X   Y   Z  


Username: Posting Information:
This is a public posting area. Enter your username and password if you have an account. Otherwise, enter your full name as your username and leave the password blank. Your e-mail address is optional.
Password:
E-mail:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: