• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JBoss Jax-ws Timeout Configuration

 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
anybody?
reply
    Bookmark Topic Watch Topic
  • New Topic