cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ganesan, Chandru" <chandru.gane...@hp.com>
Subject WebClient request to HTTPS URL
Date Wed, 27 Jun 2012 17:50:04 GMT
Hi

I could successfully use WebClient to make plain HTTP requests to the server. Now I'd like
to change the request URL to HTTPS. Is there any special handling needed for this in the client
code.

I'm getting following error when accessing an HTTPS URL:

[No Trust Decider for Conduit '{https://<suppressing the url in email>:443} WebClient.http-conduit'.
An afirmative Trust Decision is assumed.]
[Interceptor for {https:// ://<suppressing the url in email>:443}WebClient has thrown
exception, unwinding now]
org.apache.cxf.interceptor.Fault: Could not send Message.
                at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
                at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
                at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:595)
                at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:576)
                at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:323)
                at org.apache.cxf.jaxrs.client.WebClient.get(WebClient.java:390)

Appreciate the help

Thanks
Chandru

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message