views:

11

answers:

0

I'm currently using Axis2 with POJOs and calling the invokeBlocking() method which just returns an Object[]. Works great. I'd like to switch this to using invokeNonBlocking() which takes an AxisCallback to handle the return value. I can't find anyway to get my returned Object[] from the AxisCallback. Does anyone know how this is done?

I have a stand-alone java swing app thats using this interface. So I COULD just spawn a thread that calls the invokeBlocking and then wait for the return to emulate non-blocking asynchronous call, but I'd rather not do that.