I use client that invoke dynamically web method (using reflectio) everything
is
well, but not when the web method throws a soapexception.. . client receives a
runtime error
the code seems like this:
MethodInfo mi;
Object res;
try
{
res = mi[indice].Invoke(obj,arg Values);
}
catch (SoapException se)
{
MessageBox.Show ("Détail du message d'erreur:\n" + se.Message + se.StackTrace);
}
the client receives this message error:
An unhandled exception of type 'System.Reflect ion.TargetInvoc ationException'
occurred in mscorlib.dll
Additional information: Une exception a été levée par la cible d'un appel.
any help ?
and thanks a lot.
is
well, but not when the web method throws a soapexception.. . client receives a
runtime error
the code seems like this:
MethodInfo mi;
Object res;
try
{
res = mi[indice].Invoke(obj,arg Values);
}
catch (SoapException se)
{
MessageBox.Show ("Détail du message d'erreur:\n" + se.Message + se.StackTrace);
}
the client receives this message error:
An unhandled exception of type 'System.Reflect ion.TargetInvoc ationException'
occurred in mscorlib.dll
Additional information: Une exception a été levée par la cible d'un appel.
any help ?
and thanks a lot.