C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
1
Reply
What do you mean by SOAP faults in WCF?
Sanwar Ranwa
7y
1k
2
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
Exceptions in WCF service are known as SOAP faults. In WCF errors are not transferred to client directly. Faults are used to transfer proper error details to the client calling the service in case of failure. FaultContract is used to define FaultException in an OperationContract. On client side user have to enclose the service calling code in try block, and catch block should be catching FaultException.
Roshan Patil
6y
0
How do we host a WCF service in IIS?
How we enable/disable metadata publishing of Wcf service?
Message