views:

267

answers:

0

All,

I am calling a web service deployed on jboss using java annotations (javax.jws.web*) exposing a single method. In my web.xml I have the following code appended before the end of the webapp

<session-config>
 <session-timeout>0</session-timeout>
</session-config>

I am wanting to the web service to wait and receive a response but, at this point it keeps timing out.

The web service method request calls a java method located in a java class located in a folder on the server. It then does some calculations and returns the answer. So far after about a minute the current web services times out.

pseudo
@WebMethod
public defaultRun(){
try{
  DefaultRun.run()
   }
 catch{etc}
}