Hi,

The reason you are getting the error "no cipher suites in common" when you
try to view the service wsdl of the wsdl_first_https sample is that the
service requires client authentication:

<sec:clientAuthentication want="true" required="true"/>

In other words, the https client must supply a (trusted) certificate in the
TLS handshake. As the browser does not supply a certificate you see the
error.

Colm.

On Mon, Jun 25, 2012 at 12:46 PM, Himanshu Gupta <[email protected]>wrote:

> Hello Experts,
>
> Quite new to CXF, having a usecase where I need to expose our existing
> services as webservices. App is a standalone server, so am using embedded
> jetty with https. Everything works fine, except that when I hit the server
> with the wsdl url through a browser (any browser), I get
> "javax.net.ssl.SSLHandshakeException: no cipher suites in common".
>
> This could be reproduced if you just run the wsdl_first_https server and
> hit the url https://localhost:9001/SoapContext/SoapPort?wsdl. Please help
> escape this problem.
>
> Also the client in the wsdl_first_https works. But if I try to use the
> Dynamic Client (thats a requirement), it fails as well, as it could not
> find the wsdl. The Dynamic client looks somthing like below :
>
>
>  JaxWsDynamicClientFactory dcf = JaxWsDynamicClientFactory.newInstance();
>        Client client = dcf.createClient("
> https://localhost:443/someservice/2.0?wsdl<
> https://localhost/someservice/2.0?wsdl>
> ");
>        Object[] res = client.invoke(jnew
> QName("http://someNameSpace/<http://somenamespace/>",
> "getSomeIdentifier"), new Integer(1));
>
> PS : I have already tried adding the certs to the browser.
>
> Thanks in Advance,
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to