-
1. Re: jax-ws client for HTTP Digest authentication
spyhunter99 Jul 10, 2012 12:14 PM (in response to gunnarbos)JbossWS-Native - not supported.
JbossWS-CXF - http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html
-
2. Re: jax-ws client for HTTP Digest authentication
gunnarbos Jul 11, 2012 2:06 AM (in response to spyhunter99)Hi,
I use standard java 7 libraries to create the client and the java classes are generated from the wsdl file with mvn org.jvnet.jax-ws-commons:jaxws-maven-plugin, so I don't think that it should depend on JBoss.
Can you please explain?
Thanks
Gunnar
-
3. Re: jax-ws client for HTTP Digest authentication
spyhunter99 Jul 11, 2012 7:23 AM (in response to gunnarbos)JAX-WS is a standardized API. The JDK comes with a reference implementation. I'm not sure if the reference implementation supports digest Jboss includes its own implementation and overrides what's included with the JDK using the endorsed libs. The mechanism of generating the client and service classes has no affect in this case. It's the runtime environment. Since you're posting on a jboss forum, I'm assuming that your targetted environment is in fact jboss.
If you ran outside of jboss, such as with the endpoint api, and didn't specify endorse libs, it would default the reference implementation in the jdk.
So you'll either have to use CXF, or just use http basic, http client cert, or use xml based authentication, such as ws-usernametoken, etc
There should be a feature request on jira about it
-
4. Re: jax-ws client for HTTP Digest authentication
gunnarbos Jul 11, 2012 7:53 AM (in response to spyhunter99)Hi,
I wrote in this JBoss forum because, the web service that we have implemented will be processed in JBoss.
I just tried to make up a client test example to know that we can set up the service both for basic and digest authentication, beacuse this was not decided yet.
The client shoud also be used for some stress testing.
As you wrote I used the reference implementation in JRE 7 and expected it to have support for both basic and digest authentication.
I've googled for an answer but not found it, so I tried this forum.
Thanks
Gunnar