Click here to Skip to main content
15,848,483 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Pin
Kentamanos29-Jan-04 20:00
Kentamanos29-Jan-04 20:00 
GeneralDirectX Tutorial Pin
Shree29-Jan-04 18:35
Shree29-Jan-04 18:35 
GeneralRe: DirectX Tutorial Pin
Mazdak29-Jan-04 20:07
Mazdak29-Jan-04 20:07 
GeneralMissing file Pin
BP12829-Jan-04 17:43
BP12829-Jan-04 17:43 
GeneralRe: Missing file Pin
Kentamanos29-Jan-04 17:51
Kentamanos29-Jan-04 17:51 
GeneralRe: Missing file Pin
BP12829-Jan-04 17:53
BP12829-Jan-04 17:53 
GeneralRe: Missing file Pin
Heath Stewart30-Jan-04 4:37
protectorHeath Stewart30-Jan-04 4:37 
GeneralAutomatic WSDL generation Pin
Kentamanos29-Jan-04 16:48
Kentamanos29-Jan-04 16:48 
I'm trying to develop an XML Webservice for work that uses SOAP. It's very easy to get something going quickly, but It's a bit tougher to get it exactly like you want Wink | ;) .

My current concern is the WSDL that's automatically generated with the "?WSDL" query string is very unstrict (can't blame it, it's not psychic). For instance, every parameter to a method that can be null ends up having its "minOccurs" set to 0. I'd also really like to be able to use some regular expression restrictions for certain types. I'm a big believer in schema validation (which I realize I have to do by hand regardless of what the WSDL says), and I'd like the WSDL to be more strict.

I've searched for quite a while, and I'm not having much luck finding anything. There seems to be a lot of attributes I can use to control the XML serialization of classes, but I haven't seen anything yet that lets me do something like "represent this class with this XmlSchema instance", which might be how I would get my service to create a "good" schema (guessing here).

Should I just give up on making the automatically generated WSDL look good and just write my own WSDL file by hand (and point clients there). It seems like that route would be more of a pain in the butt to maintain, but if that's the only way to make me happy I might go that route. Is there any way I can turn off the automatic WSDL generation (?WSDL querystring on the .asmx) if I go that route?



I, for one, do not think the problem was that the band was down. I think that the problem may have been that there was a Stonehenge monument on the stage that was in danger of being crushed by a dwarf.

-David St. Hubbins
GeneralRe: Automatic WSDL generation Pin
Kentamanos29-Jan-04 17:09
Kentamanos29-Jan-04 17:09 
GeneralRe: Automatic WSDL generation Pin
Kentamanos29-Jan-04 17:32
Kentamanos29-Jan-04 17:32 
GeneralRe: Automatic WSDL generation Pin
Heath Stewart30-Jan-04 4:54
protectorHeath Stewart30-Jan-04 4:54 
GeneralRe: Automatic WSDL generation Pin
Kentamanos30-Jan-04 7:27
Kentamanos30-Jan-04 7:27 
GeneralCOM+ Catalog Infomation Pin
kimsangwoo29-Jan-04 15:39
kimsangwoo29-Jan-04 15:39 
GeneralRe: COM+ Catalog Infomation Pin
Heath Stewart30-Jan-04 4:45
protectorHeath Stewart30-Jan-04 4:45 
GeneralRe: COM+ Catalog Infomation Pin
kimsangwoo30-Jan-04 13:42
kimsangwoo30-Jan-04 13:42 
GeneralRe: COM+ Catalog Infomation Pin
Heath Stewart30-Jan-04 14:08
protectorHeath Stewart30-Jan-04 14:08 
GeneralRe: COM+ Catalog Infomation Pin
kimsangwoo30-Jan-04 14:58
kimsangwoo30-Jan-04 14:58 
GeneralDataTable and Xml Schemas Pin
MrJJKoolJ29-Jan-04 15:08
MrJJKoolJ29-Jan-04 15:08 
GeneralRe: DataTable and Xml Schemas Pin
MrJJKoolJ29-Jan-04 15:41
MrJJKoolJ29-Jan-04 15:41 
GeneralRe: DataTable and Xml Schemas Pin
Kentamanos29-Jan-04 17:39
Kentamanos29-Jan-04 17:39 
GeneralRe: DataTable and Xml Schemas Pin
MrJJKoolJ29-Jan-04 17:49
MrJJKoolJ29-Jan-04 17:49 
GeneralRe: DataTable and Xml Schemas Pin
Heath Stewart30-Jan-04 4:40
protectorHeath Stewart30-Jan-04 4:40 
GeneralError Messages Pin
BP12829-Jan-04 14:12
BP12829-Jan-04 14:12 
GeneralRe: Error Messages Pin
Colin Angus Mackay29-Jan-04 15:36
Colin Angus Mackay29-Jan-04 15:36 
GeneralRe: Error Messages Pin
BP12829-Jan-04 16:42
BP12829-Jan-04 16:42 

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.