HI all
i am working on an existing standalone app which, in its logic does the following
- authenticates itself usign SSL and a certificate with a remote REST application
- call a jax-ws webservice
- perform some computation
I have generated the jax-ws stubs using wsimport, and the WSLD location is on an
https:// site
Because the application is launched using -Djavax.ssl property specifying a certificate , when i do the jaxws call jaxws picks up the certificate (which has been generated for the REST CALL) and fail miserably
If i dont' use the certificate in the -D call, i can successfully retrieve data from jaxws site, but i cannot authenticate to the REST app
I have a workaround, which would be to first call the JAXWS, and then programmatically set the -Djavax.ssl property to use certificate before i call the REST application.. but i was wondering if there is a way
for jax-ws generatd stubs to skip ssl validation
Anyone could help?
kindest regards
marco