Click here to Skip to main content
15,884,836 members
Home / Discussions / C#
   

C#

 
GeneralMissing file Pin
BP12829-Jan-04 16:43
BP12829-Jan-04 16:43 
GeneralRe: Missing file Pin
Kentamanos29-Jan-04 16:51
Kentamanos29-Jan-04 16:51 
GeneralRe: Missing file Pin
BP12829-Jan-04 16:53
BP12829-Jan-04 16:53 
GeneralRe: Missing file Pin
Heath Stewart30-Jan-04 3:37
protectorHeath Stewart30-Jan-04 3:37 
GeneralAutomatic WSDL generation Pin
Kentamanos29-Jan-04 15:48
Kentamanos29-Jan-04 15:48 
GeneralRe: Automatic WSDL generation Pin
Kentamanos29-Jan-04 16:09
Kentamanos29-Jan-04 16:09 
GeneralRe: Automatic WSDL generation Pin
Kentamanos29-Jan-04 16:32
Kentamanos29-Jan-04 16:32 
GeneralRe: Automatic WSDL generation Pin
Heath Stewart30-Jan-04 3:54
protectorHeath Stewart30-Jan-04 3:54 
There's a ton of attributes you can use to control a lot of this, although I'm not sure about the regex, and don't remember ever seeing anything like this - but you shouldn't rely stricly on WSDL schema validation since some clients may not do that. Always check params going into your code, so you ultimately control what goes in and out of your methods!

First, there's the attributes in the System.Xml.Serialization namespace, like the XmlRootAttribute and XmlElementAttribute that have an IsNullable property you can set to false. There's also many advanced usage attributes in System.Web.Services.Protocols that let you control the input and output of SOAP and help in the documentation generation for the WSDL, such as using different readers and writers for the generation using the HttpMethodAttribute.

You should use these when you can because it ultimately gives you more control over SOAP and WSDL, and IXmlSerialization is not supposed to be used from your code which means it could change at any time without notice (but I must confess I've used it a few times here and there! Smile | :) ).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Automatic WSDL generation Pin
Kentamanos30-Jan-04 6:27
Kentamanos30-Jan-04 6:27 
GeneralCOM+ Catalog Infomation Pin
kimsangwoo29-Jan-04 14:39
kimsangwoo29-Jan-04 14:39 
GeneralRe: COM+ Catalog Infomation Pin
Heath Stewart30-Jan-04 3:45
protectorHeath Stewart30-Jan-04 3:45 
GeneralRe: COM+ Catalog Infomation Pin
kimsangwoo30-Jan-04 12:42
kimsangwoo30-Jan-04 12:42 
GeneralRe: COM+ Catalog Infomation Pin
Heath Stewart30-Jan-04 13:08
protectorHeath Stewart30-Jan-04 13:08 
GeneralRe: COM+ Catalog Infomation Pin
kimsangwoo30-Jan-04 13:58
kimsangwoo30-Jan-04 13:58 
GeneralDataTable and Xml Schemas Pin
MrJJKoolJ29-Jan-04 14:08
MrJJKoolJ29-Jan-04 14:08 
GeneralRe: DataTable and Xml Schemas Pin
MrJJKoolJ29-Jan-04 14:41
MrJJKoolJ29-Jan-04 14:41 
GeneralRe: DataTable and Xml Schemas Pin
Kentamanos29-Jan-04 16:39
Kentamanos29-Jan-04 16:39 
GeneralRe: DataTable and Xml Schemas Pin
MrJJKoolJ29-Jan-04 16:49
MrJJKoolJ29-Jan-04 16:49 
GeneralRe: DataTable and Xml Schemas Pin
Heath Stewart30-Jan-04 3:40
protectorHeath Stewart30-Jan-04 3:40 
GeneralError Messages Pin
BP12829-Jan-04 13:12
BP12829-Jan-04 13:12 
GeneralRe: Error Messages Pin
Colin Angus Mackay29-Jan-04 14:36
Colin Angus Mackay29-Jan-04 14:36 
GeneralRe: Error Messages Pin
BP12829-Jan-04 15:42
BP12829-Jan-04 15:42 
GeneralRe: Error Messages Pin
Kentamanos29-Jan-04 16:10
Kentamanos29-Jan-04 16:10 
GeneralRe: Error Messages Pin
BP12829-Jan-04 16:32
BP12829-Jan-04 16:32 
GeneralRe: Error Messages Pin
Kentamanos29-Jan-04 16:36
Kentamanos29-Jan-04 16:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.