permaculture playing cards*
The moose likes Web Services and the fly likes JBoss Jax-ws Timeout Configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JBoss Jax-ws Timeout Configuration" Watch "JBoss Jax-ws Timeout Configuration" New topic
Author

JBoss Jax-ws Timeout Configuration

naveen gupta
Ranch Hand

Joined: Apr 12, 2006
Posts: 129
I am using JAX-WS RI and JBossWS engine

In my web service client code, i need to set timeout and it's not working. Following are all different ways i tried

bp.getRequestContext().put(BindingProviderProperties.REQUEST_TIMEOUT, String.valueOf(120000));
bp.getRequestContext().put(JAXWSProperties.REQUEST_TIMEOUT, String.valueOf(120000));
bp.getRequestContext().put(StubExt.PROPERTY_CLIENT_TIMEOUT, String.valueOf(120000));
bp.getRequestContext().put("javax.xml.ws.client.receiveTimeout", String.valueOf(100000));

None of them worked.

Help Please.................................
naveen gupta
Ranch Hand

Joined: Apr 12, 2006
Posts: 129
Below statement also didn't work

bp.getRequestContext().put(org.jboss.ws.core.StubExt.PROPERTY_CLIENT_TIMEOUT, "120000");
naveen gupta
Ranch Hand

Joined: Apr 12, 2006
Posts: 129
I clicked on "Resolved" button for this thread

how can i undo that
naveen gupta
Ranch Hand

Joined: Apr 12, 2006
Posts: 129
anybody?
 
Consider Paul's rocket mass heater.
 
subject: JBoss Jax-ws Timeout Configuration