Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exception Handling
Message
From
22/04/2007 10:22:40
 
 
To
19/04/2007 12:20:54
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB.NET 1.1
Miscellaneous
Thread ID:
01215534
Message ID:
01218677
Views:
13
>Bill the are sent as a soap fault in the soap envelop, that will trigger a soap exception on the soap client that called the web service, you can then see the soapexception.message, this will have the equivalent to the exception.ToString, so you may want to do some processing before showing the message to the user.

Hmmm ... ok. We're not utilizing that. We simply send a message back through our Web Service instead. There may some reason why we decided not to do it that I either don't know about or don't remember (we architected this thing a long time ago) ... or maybe it wasn't available way back when or we didn't know about it.

Thanks for pointing it out. =0)

~~Bonnie




>
>>Hi Bonnie,
>>
>>I would like to hear the answer to this. I believe that Exception objects are not serializable, so I don't see how they could be passed over the wire to another machine.
>>
>>Bill
>>
>>>
>>>Well, I guess I'll have to test that. It doesn't seem logical to me that that would work. The exception would be raised on a totally different machine than the one that the UI is running on. The exception would have to be passed over the "internet". I just don't see how that would work.
>>>
>>>If I get some time today to test it, I will.
>>>
>>>~~Bonnie
>>>
>>>
>>>
>>>
>>>>>>Bonnie and why don't you raise an exception also in the web server that will be send to UI?
>>>>>>Any special reason?

>>>>>
>>>>>You can pass an exception over the wire through a Web Service? Maybe you know something I don't, but I don't think you can do that.
>>>>>
>>>>>~~Bonnie
>>>>>
>>>>>
>>>>>
>>>>
>>>>You just raise the exception in the web service and that will raise the exception on the client that is calling that web service. I'm I missing something?
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform