Hello,
JAX-RPC states itself as "Production Quality" service, but has no possibility to
specify http request timeouts in web service client side.
We have chosen this implementation as it has good performance, and is supported
by sun application server 8.2, but this lack of such important feature is really
show stopper.
If some external web service hangs or stops - our whole system also hangs
because no request timeout can occur and all threads hang trying to call hanging
web service.
I have looked at sources and found that this functionality is implemented in
JAX-WS class com.sun.xml.ws.transport.http.client.HttpClientTransport, but is
missing in JAX-RPC implementations class
com.sun.xml.rpc.client.http.HttpClientTransport.
Can we expect that this feature will be implemented some day?
If no, can we download JAX-RPC source code, add this functionality by ourselves
and use it internally for commercial use (we have sun jes support license)?
P.S.
I have found several forum posts without an answer on the same topic:
Hello, JAX-RPC states itself as "Production Quality" service, but has no possibility to specify http request timeouts in web service client side. We have chosen this implementation as it has good performance, and is supported by sun application server 8.2, but this lack of such important feature is really show stopper. If some external web service hangs or stops - our whole system also hangs because no request timeout can occur and all threads hang trying to call hanging web service.
I have looked at sources and found that this functionality is implemented in JAX-WS class com.sun.xml.ws.transport.http.client.HttpClientTransport, but is missing in JAX-RPC implementations class com.sun.xml.rpc.client.http.HttpClientTransport.
Can we expect that this feature will be implemented some day? If no, can we download JAX-RPC source code, add this functionality by ourselves and use it internally for commercial use (we have sun jes support license)?
P.S. I have found several forum posts without an answer on the same topic:
http://markmail.org/message/ajwkgpgyna34v54k http://forums.sun.com/thread.jspa?forumID=331&threadID=409549 http://forums.sun.com/thread.jspa?forumID=331&threadID=587997 http://markmail.org/message/fjklzmmuqnrvw5hh#query:jax-rpc%20timeout%20sun+page:1+mid:fjklzmmuqnrvw5hh+state:results http://forums.java.net/jive/message.jspa?messageID=328098 http://www.nabble.com/Axis-stubs-vs-JAX-RPC-stubs-td8069451.html
Environment
Operating System: All Platform: All
Affected Versions
[current]