Hello,
There is nothing wrong with the code you've written. One thing you could try is to see if on using Axis to invoke the service you get the Axis fault. If you get an Axis fault and no WSIF fault it is definitely a WSIF bug. If this is the case, it will be useful if you send the trace log for this invocation.
See http://ws.apache.org/wsif/developers/trace.html for information on how to turn on tracing in WSIF.
Thanks,
Nirmal.
| Anil Ambati/Raleigh/[EMAIL PROTECTED]
06/19/2003 04:27 PM
|
To: [EMAIL PROTECTED] cc: Subject: Not getting anything in the fault object |
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
