I have used the Java Wireless Toolkit Stub Generator to create a bunch of web service call stubs for a mobile app (BlackBerry J2ME app). The problem I'm having is that there doesn't appear to be any way to set a timeout on the calls. This causes the app to sit and wait for at least a minute waiting to timeout if the web service that is called is offline. I'd really like to set this timeout to something more manageable and then handle the offline situation.
The code generated uses javax.microedition.xml.rpc.Operation.Invoke to make the actual calls, but there is no timeout property anywhere that I can find.