Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: bytes, bits, trues and falses.. Pin
dazinith12-May-03 8:37
dazinith12-May-03 8:37 
GeneralRe: bytes, bits, trues and falses.. Pin
Tomas Petricek12-May-03 8:58
Tomas Petricek12-May-03 8:58 
GeneralRe: bytes, bits, trues and falses.. Pin
dazinith12-May-03 9:22
dazinith12-May-03 9:22 
GeneralRe: bytes, bits, trues and falses.. Pin
Tomas Petricek12-May-03 9:31
Tomas Petricek12-May-03 9:31 
GeneralRe: bytes, bits, trues and falses.. Pin
Jim Stewart12-May-03 6:47
Jim Stewart12-May-03 6:47 
GeneralRe: bytes, bits, trues and falses.. Pin
leppie12-May-03 6:58
leppie12-May-03 6:58 
GeneralRe: bytes, bits, trues and falses.. Pin
Wesner Moise19-May-03 19:01
Wesner Moise19-May-03 19:01 
Generalcatch exception from webservice in smartclients Pin
troels_sorensen12-May-03 5:08
troels_sorensen12-May-03 5:08 
Hey.

I'm developing a system, where multible smartsclients (thin winform programs) is using a webservice. I want to validate user input on the webservice and thorw an exception back to the clients if the input is badly formattet (it must be an exception, and i made my own ServiceException).
However when i throw my ServiceException from the server, all my clients get back is a SOAPException containing one long string with the serviceexception and its inner exceptions. I am not able to retrieve that it was a service ekception that was thrown, and much less what the message of the exception was (fx "Input Error").

Can anyone tell me how to retrieve exceptiontypes and their messages thrown from a webservice?



//Troels
GeneralNot enough files in the list Pin
Darf Fader12-May-03 4:57
Darf Fader12-May-03 4:57 
GeneralRe: Not enough files in the list Pin
Darf Fader12-May-03 23:10
Darf Fader12-May-03 23:10 
QuestionAre XML comments working properly in 2003? Pin
12-May-03 3:12
suss12-May-03 3:12 
QuestionUpdating a datagrid control? Pin
Manster12-May-03 2:31
Manster12-May-03 2:31 
Generalintegrate with outlook Pin
Roger Alsing12-May-03 2:07
Roger Alsing12-May-03 2:07 
GeneralAlways on top Pin
ardentOne12-May-03 1:39
ardentOne12-May-03 1:39 
GeneralRe: Always on top Pin
Tomas Petricek12-May-03 2:19
Tomas Petricek12-May-03 2:19 
GeneralRe: Always on top Pin
leppie12-May-03 6:55
leppie12-May-03 6:55 
GeneralDiferent between SmoothingMode.AntiAlias and SmoothingMode.HighQuality Pin
Wizard_0111-May-03 23:38
Wizard_0111-May-03 23:38 
GeneralRe: Diferent between SmoothingMode.AntiAlias and SmoothingMode.HighQuality Pin
J. Dunlap12-May-03 8:23
J. Dunlap12-May-03 8:23 
GeneralRe: Diferent between SmoothingMode.AntiAlias and SmoothingMode.HighQuality Pin
Wesner Moise19-May-03 19:03
Wesner Moise19-May-03 19:03 
GeneralWeb monitoring (Packet Sniffing) code Pin
aviyam11-May-03 22:35
aviyam11-May-03 22:35 
GeneralRegular Expresion Pin
mkomasi11-May-03 20:10
mkomasi11-May-03 20:10 
GeneralRe: Regular Expresion Pin
mkomasi12-May-03 20:08
mkomasi12-May-03 20:08 
GeneralWeb Services (Weather & Sports) Pin
Mike_V11-May-03 16:16
Mike_V11-May-03 16:16 
GeneralRe: Web Services (Weather & Sports) Pin
Kant11-May-03 16:50
Kant11-May-03 16:50 
GeneralRe: Web Services (Weather & Sports) Pin
Mike_V11-May-03 17:16
Mike_V11-May-03 17:16 

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.