TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
SweetMustard
NA
1
0
Get original Excaption in Web Service
Nov 26 2009 4:29 AM
Hi to all,
Q about throwing Excaption from WebService to client:
I build WS which connect to DAL class --> DB,
if connections not succeed than DAL throw Excaption.
Excapion catch at WS [WebMethod] - the one who called the DAL
and than return to client ( [WebMethod] is string type) :
return
ex.Message;
the problam: when ex catch on client side it give a loonggg.... Message desc. incude info that need to be hide from client (path fo WS and more...)
I dont want all the info at client... only the original Message from DAL Excaption.
how can I get it ???
Reply
Answers (
1
)
Exception handling in Asynchronous call
Generic discovery and subscription