Javier,
Could you please open a JIRA bug and upload your async wsdl?
thanks,
dims
On 1/8/07, Javier Kohen <[EMAIL PROTECTED]> wrote:
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]
--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]