|
Sponsored Links
Resources
.NET Research Library
Get .NET related white papers, case studies and webcasts
|
XML & Web services
XML & Web services
XML & Web services
|
Messages: 0
Messages: 0
Messages: 0
Printer friendly
Printer friendly
Printer friendly
Post reply
Post reply
Post reply
XML
XML
XML
|
 |
exceptions / return codes over webservice
Hello,
I'm working on a 3-tier application. The business layer consists of a webservice layer and a Bll layer.
The bll layer catches exeptions of the underlying code. Since we might cut out the web service layer for other customers, we catch exceptions in the bll layer, but the webservice layer has also a try catch mechanism.
In case of an exception on the serverside, the bll layer will catch it, and makes a dto object with an error/return code inside. The bll layer will return the dto to the webservice layer, which will send it to the presentation layer.
Is this good practice, or should we incorporate the error code in a (soap)exception? I was thinking the dto making and sending could maybe result in an exception as well.
(note that because of security, we dont want to send much exception info to the presentation layer)
mp
|
|
 |
Hot threads
Hot threads
Hot threads
|
More hot threads
More hot threads
More hot threads
|
 |
Speaking at EclipseCon 2006, Java developer and independent consultant Madhu Siddalingaiah compared Microsoft's Visual Studio IDE to the open source development environment of Eclipse.
(33 comments,
last posted
July 13, 2009)
In this tech talk, Microsoft's Peter Provost talks about the design of the Composite UI Application Block and how the p&p team has led Microsoft in the adoption of Agile methodologies.
(0 comments,
last posted
April 17, 2006)
Chapter 4 of Framework Design Guidelines, titled "Type Design Guidelines," presents patterns that describe when and how to design classes, constructs and interfaces. In this chapter, Abrams and Cwalina divide types into four groups and discuss the do's and don'ts of type design.
(2 comments,
last posted
July 07, 2006)
Paul Ferrill caught up with prime open-source .NET applications driver Miguel De Icaza at Novell's BrainShare conference last week. They discussed the status of Windows Forms for Mono (it's coming along) and VB.NET for Mono (it looks like it's out).
(5 comments,
last posted
March 30, 2006)
In this tech talk, Microsoft Visual Studio architect Jack Greenfield discusses the company's approach to Domain-Specific Languages, or DSLs, and the part they play in software factories.
(0 comments,
last posted
March 15, 2006)
More hot threads »
|
|