Custom faults in asmx


Ever wanted to return a custom SOAP fault from asmx without the extra information about where the error is coming from etc.? Try this:


<configuration>
  <system.web>
        <customErrors mode="On" />
    </system.web>
</configuration>

Comments (0)

Skip to main content