Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBoss Jax-ws Timeout Configuration

 
naveen gupta
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Below statement also didn't work

bp.getRequestContext().put(org.jboss.ws.core.StubExt.PROPERTY_CLIENT_TIMEOUT, "120000");
 
naveen gupta
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I clicked on "Resolved" button for this thread

how can i undo that
 
naveen gupta
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anybody?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic