Re: Exception



Catch the exception at the web service and then throw your own custom
exception to the client that is populated with whatever information you want
in it.


"Pablo Noble" <pnoble03@xxxxxxxxxxx> wrote in message
news:eusYc2HEKHA.2832@xxxxxxxxxxxxxxxxxxxxxxx
Hi, my question is:

Is ts possible to hide some information when y throw a soapexception from
my web service to my client ? for example, i don´t like the client see the
class and line where the error was ?

thanks in advance



.



Relevant Pages

  • RE: Hide StackTrace
    ... Since you're developing on an XML Web Service, ... Because when the web service throws an exception and was not ... It only returns a status code to the client. ... "This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.dotnet.xml)
  • SOAP attachments Question
    ... attachment to a web service ... On the client response, when I count the number of attachments, it ... public void displayMessagethrows Exception ...
    (comp.lang.java.programmer)
  • Re: Passing custom exceptions server to client
    ... > I have a .net client/server application using remoting, and I cannot get the> custom exception class to pass from the server to the client. ... The custom> exception is derived from ApplicationException and is defined in an assembly> common to the client and server components. ... The text indicates that I should> "turn on customErrors in the server's config file", but I do not have a> config file. ...
    (microsoft.public.dotnet.languages.csharp)
  • WebServices exceptions
    ... but my understanding of an article I ... read on the MSDN site is, if you throw an exception in a web service, the ... the SoapException is thrown on the client. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Stumped - Strongly Typed Arrays question (with simplified code example)
    ... class that encapsulates the custom array type. ... But, in the same context of using the web service versus remoting, I ... array manipulation methods as a web service simply because that allows ... Windows Forms client all use the same manipulation methods) and to ...
    (microsoft.public.dotnet.framework.aspnet.webservices)

Loading