Hi,
I have a program that uses WSIF to invoke a method on a SOAP service. The
method call initializes the rpcrouter servlet but does not call the method
on the object that implements the service. The
executeRequestResponseOperation method returns true even though something
went wrong (because, the method of the java class implmenting the service
is not called). I traced the SOAP call using TCP monitor and I found there
was a SOAP fault.
My question is why I dont get any error back in the fault message? here is
what I am doing to inspect the fault message. Am I missing anything? Is
there a best practice for checking error message?
boolean ok =
operation.executeRequestResponseOperation(input, output, fault);
if (ok)
{
System.out.println("Notification Sent successfully");
}
else
{
Iterator iter = fault.getParts();
while (iter.hasNext())
{
System.out.println(iter.next());
}
}
Thanks in advance.
Regards,
Anil Ambati
"You have no responsibility to live up to what other people think you ought
to accomplish." -Richard Feynman (1918-1988)
"Money is as bad as it is necessary" - Anonymous