I have a servlet that gets a list of active jobs on my AS/400 server. Based on the user agent, it formats the correct response. HTML for a web browser or WML for a WAP device.

It works fine from a web browser and using the Blackberry simulator, but fails from my phone.
My Blackberry 6710 on T-Mobile service times out with an HTTP Error 503 - Service Unavailable, after about 30 seconds.

Does anyone know any guidelines for how much time a server has before it has to respond to a WAP device?

While watching the console on my app server, I see it send the response to the phone about 15 seconds after the phone displays the 503 error.

Any help appreciated.