V
Vai2000
Hi All, Need some insight on this
I have a Server A with a WebSvc running on it. This webSvc does nothing but
acts more like a wrapper to WebSvc running on Server B (due to security
concerns only Server A is Open to DMZ)
I throw SoapException on my WebSvc which on ServerB
On the webSvc running on ServerA I simply do this
[WebMethod]
string foo(string param1)
{
svc.CJoker ws=new svc.CJoker();
return ws.foo();
}
Problem is I don't get soapException in my client which calls this
webSvc.....on ServerB
I rewrote the code but still no luck
[WebMethod]
string foo(string param1)
{
string ret=null;
try{
svc.CJoker ws=new svc.CJoker();
ret=ws.foo();
}catch(SoapException sopE)
{
throw new SoapException("Failed",sopE.InnerException
}
return ret;
}
What's the best Way to handle SOAP Exceptions coming out of Server B to the
Client?
TIA
I have a Server A with a WebSvc running on it. This webSvc does nothing but
acts more like a wrapper to WebSvc running on Server B (due to security
concerns only Server A is Open to DMZ)
I throw SoapException on my WebSvc which on ServerB
On the webSvc running on ServerA I simply do this
[WebMethod]
string foo(string param1)
{
svc.CJoker ws=new svc.CJoker();
return ws.foo();
}
Problem is I don't get soapException in my client which calls this
webSvc.....on ServerB
I rewrote the code but still no luck
[WebMethod]
string foo(string param1)
{
string ret=null;
try{
svc.CJoker ws=new svc.CJoker();
ret=ws.foo();
}catch(SoapException sopE)
{
throw new SoapException("Failed",sopE.InnerException
}
return ret;
}
What's the best Way to handle SOAP Exceptions coming out of Server B to the
Client?
TIA