Welcome to thinktecture forums Sign in | Join | Faq

Feature Requests

Started by b_cipp at 10-31-2006 11:16 AM. Topic has 0 replies.

Print Search
Sort Posts:    
   10-31-2006, 11:16 AM
b_cipp is not online. Last active: 10/31/2006 9:02:28 AM b_cipp

Top 200 Posts
Joined on 10-31-2006
Posts 1
code generation - type name
Reply Quote

Hi

I have a complex type defined inside a XSD file. I have another XSD that defines a message that uses the complex type from above.

I generated the web service code. I am looking at the data type classes for the complex type. The classes are decorated with

XmlTypeAttribute(TypeName="myComplexType").

which is fine.

Please tell me if there is a way I can controll the name of the class during code generation. What I want is for the generated class to have a name I choose ... but the XmlTypeAttribute.TypeName property to be set to the complex type name from the XSD.

Of course, one solution would be to edit the files later, after generation and change the class name by hand. But this does not work for me as I have more than 30 classes that are generated ... and I will have to regenerate them from time to time.


   Report 
thinktecture fo... » WSCF » Feature Request... » code generation - type name

Powered by Community Server, by Telligent Systems