Click here to Skip to main content
15,881,803 members
Home / Discussions / C#
   

C#

 
GeneralMessage Closed Pin
5-Aug-03 7:21
mittencode5-Aug-03 7:21 
GeneralRe: Best Practice for client/server app Pin
Ista5-Aug-03 9:45
Ista5-Aug-03 9:45 
GeneralMessage Closed Pin
5-Aug-03 10:20
mittencode5-Aug-03 10:20 
GeneralRe: Best Practice for client/server app Pin
Ista8-Aug-03 19:27
Ista8-Aug-03 19:27 
Generalpassing objects via WebServices Pin
Raphael Amorim4-Aug-03 8:04
professionalRaphael Amorim4-Aug-03 8:04 
GeneralRe: passing objects via WebServices Pin
Heath Stewart4-Aug-03 9:27
protectorHeath Stewart4-Aug-03 9:27 
GeneralRe: passing objects via WebServices Pin
Raphael Amorim4-Aug-03 10:02
professionalRaphael Amorim4-Aug-03 10:02 
GeneralRe: passing objects via WebServices Pin
Heath Stewart4-Aug-03 10:19
protectorHeath Stewart4-Aug-03 10:19 
Short answer...don't! There's a lot of work involved (and you really have to understand WSDL) and ever time you compile with changes you'd either invalidate the WSDL or loose it. All you'd be doing, though, is adding a definition for the CTestClass, which is what using the simple one-liner XmlIncludeAttribute above the method would do. I strongly suggest using the latter route.

If, for some reason, you need to edit the WSDL directly I suggest you check-out some of the MSDN articles on Web Services. Several of them do this but they have enterprise-ready solutions that sometimes require more than the framework provides. From what I can tell, the XmlIncludeAttribute is exactly what you need (since ASP.NET will pull the type from the dependent assembly which must be there for the o is CTestClass statement to work anyway, into the WSDL generated for WS clients).

 

-----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: passing objects via WebServices Pin
Raphael Amorim4-Aug-03 10:34
professionalRaphael Amorim4-Aug-03 10:34 
GeneralRe: passing objects via WebServices Pin
Heath Stewart4-Aug-03 10:39
protectorHeath Stewart4-Aug-03 10:39 
GeneralMIME filter Pin
Bog4-Aug-03 7:58
Bog4-Aug-03 7:58 
GeneralRe: MIME filter Pin
Arun Bhalla4-Aug-03 12:40
Arun Bhalla4-Aug-03 12:40 
GeneralRe: MIME filter Pin
Heath Stewart5-Aug-03 17:08
protectorHeath Stewart5-Aug-03 17:08 
Generalstring manipulation for phone numbers Pin
mikemilano4-Aug-03 7:23
mikemilano4-Aug-03 7:23 
GeneralRe: string manipulation for phone numbers Pin
Nathan Blomquist4-Aug-03 16:13
Nathan Blomquist4-Aug-03 16:13 
GeneralRe: string manipulation for phone numbers Pin
J. Dunlap4-Aug-03 16:34
J. Dunlap4-Aug-03 16:34 
Generalcontrolling (auto)scrollbars with keys Pin
misterbear4-Aug-03 5:47
misterbear4-Aug-03 5:47 
GeneralRe: controlling (auto)scrollbars with keys Pin
Furty4-Aug-03 22:20
Furty4-Aug-03 22:20 
QuestionGetCursorInfo in C#? Pin
CyberKewl4-Aug-03 4:38
CyberKewl4-Aug-03 4:38 
AnswerRe: GetCursorInfo in C#? Pin
Heath Stewart4-Aug-03 6:00
protectorHeath Stewart4-Aug-03 6:00 
GeneralRe: GetCursorInfo in C#? Pin
CyberKewl4-Aug-03 13:37
CyberKewl4-Aug-03 13:37 
GeneralRe: GetCursorInfo in C#? Pin
Heath Stewart5-Aug-03 5:25
protectorHeath Stewart5-Aug-03 5:25 
GeneralRe: GetCursorInfo in C#? Pin
CyberKewl5-Aug-03 13:27
CyberKewl5-Aug-03 13:27 
GeneralRe: GetCursorInfo in C#? Pin
Heath Stewart5-Aug-03 17:03
protectorHeath Stewart5-Aug-03 17:03 
GeneralRe: GetCursorInfo in C#? Pin
CyberKewl6-Aug-03 0:47
CyberKewl6-Aug-03 0:47 

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.