How to Set Timeout for JAX-WS WebService Call

前端 未结 6 1825
醉酒成梦
醉酒成梦 2020-12-14 09:30

I\'m working on a WebService Client and I want to set a Timeout for my WebService Call. I have tried different approaches but still I\'m not able to achieve this. I\'m using

6条回答
  •  我在风中等你
    2020-12-14 09:47

    Upgrade jbossws-native library and use StubExt.PROPERTY_CLIENT_TIMEOUT

    For upgrading jbossws-native, follow this link.

    *jbossws-native-3.4.0 is the latest supported version for Jboss 5.1.0GA. You can see JBossWS - Supported Target Containers

    This worked for me

提交回复
热议问题