I'm generating the webservice stub with WSDL2Java and the XMLBeans binding, as the WSDL has a couple complex extensions, so I can't use ADB.
Invoking a given method synchronously is throwing an AxisFault upon
receiving a fault from the webservice, but when using the asynchronous
call, I get a plain empty Exception:
java.lang.Exception:
at org.apache.axis2.description.OutInAxisOperationClient
$NonBlockingInvocationWorker.run(OutInAxisOperation.java:455)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:665)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:595)
I tried this with Axis2 1.1.1-RC1, but Axis2 1.1 seems to have the same
problem. I'm not sure where to look for the bug. The ADB binding seems
to handle this gracefully, as I use it for another webservice with no
problems.
I guess the workaround would be to use synchronous calls for now and
wrap them myself in a Runnable.
Thanks,
--
Javier Kohen <[EMAIL PROTECTED]>
ICQ: blashyrkh #2361802
Jabber: [EMAIL PROTECTED]
signature.asc
Description: Esta parte del mensaje está firmada digitalmente
