I am implementing a simple Java web service using JAX-WS exposing my service using @WebService and @WebMethod
To publish the service I am using a simple Endpoint.publish() implementation
Endpoint.publish( "http://urlToService" , new WebServiceImp() );
all of which is working correctly.
I am now in a situation where I need to set the timeout duration of a users connection. From my searching I have found many instances of people implementing this on client side applications on their requests, I also found way of changing config files for application servers like Tomcat. But not a way to set values for the endpoint
So my question is, a) How can I set the default timeout for communicating with the endpoint b) How can I see the current timeout value for endpoint communication.
Many Thanks