Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requesting resolution: Standardize timeout settings #695

Open
h908714124 opened this issue Sep 25, 2024 · 1 comment
Open

Requesting resolution: Standardize timeout settings #695

h908714124 opened this issue Sep 25, 2024 · 1 comment

Comments

@h908714124
Copy link

Hello,
since I could not find a reference, may I ask if or how this old issue was resolved?

javaee/metro-jax-ws#1166

That is, which of the following are the correct way to set connect and receive timeouts:

((BindingProvider) port).getRequestContext().put("com.sun.xml.ws.connect.timeout", timeout);
((BindingProvider) port).getRequestContext().put("com.sun.xml.ws.request.timeout", timeout);
// JDK JAX-WS properties
((BindingProvider) port).getRequestContext().put("com.sun.xml.internal.ws.connect.timeout", timeout);
((BindingProvider) port).getRequestContext().put("com.sun.xml.internal.ws.request.timeout", timeout);
// JBOSS CXF JAX-WS properties, warning these might change in the future (CXF-5261)
((BindingProvider) port).getRequestContext().put("javax.xml.ws.client.connectionTimeout", timeout);
((BindingProvider) port).getRequestContext().put("javax.xml.ws.client.receiveTimeout", timeout);

Many thanks.

@h908714124
Copy link
Author

h908714124 commented Sep 25, 2024

Unless there's a quick answer, this issue can probably be closed because this exists:
jakartaee/jax-ws-api#193

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant