Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6841477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:58:18+00:00 2026-05-26T23:58:18+00:00

I developed a asp.net 2.0 web service (.asmx), now my client said that there

  • 0

I developed a asp.net 2.0 web service (.asmx), now my client said that

“there is no fault exception available. It contains only request and
response. We need to handle the exception scenarios while we are
calling the webservice, Could you please update the WSDL on fault
exception and send back the updated WSDL to us to proceed with the
Client stubs.

Webservice Response should have the below mentioned error code for the
failure cases from the webservice as mentioned below :

            Error code:  Error Information
             002           Server Down
             003       Invalid Input Format

etc.
I am not sure how can i update my code so that the “fault exception” tags are generated in asmx wsdl file & how should i throw such exception.
Any help/suggestion please or please let me know if you need further explanation.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:58:18+00:00Added an answer on May 26, 2026 at 11:58 pm

    AFAIK, ASP.NET web services (asmx) does not support custom soap faults. On a different note, it’s considered as legacy technology (by Microsoft) – there is no point in developing new services in it.

    Use WCF services (that are more flexible in all manners) – see this simple tutorial to get started with WCF.

    Coming to your question, WCF support custom soap fault (known as fault contract in WCF lingo) – see this simple tutorial for adding fault contract to a WCF service.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I develop an asmx web service (i.e. ASP.NET 2.0). There's a piece of code
I have a asp.net web site that was developed on the .Net Framework v2
I am building an ASP.NET web service that will be used internally in my
I have developed a asp.net web service and deployed on IIS 7.5 and windows
I have developed in c# 2 applications. One ASP .NET web service and a
I have developed an ASP.Net Web Service targeting Mono. I have deployed it to
I've developed a web service in asp.net and am able to test it from
I have a web application developed with ASP.net and C# that is running on
I have a web application developed in ASP.NET 2.0, deployed in a data center.
I have a ASP.net 3.5 web application developed in VB.net I am using iTextsharp

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.