cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Cheng" <christopher.sw.ch...@gmail.com>
Subject problem changing endpoint address from https to http
Date Tue, 16 Dec 2008 15:38:52 GMT
I was trying to change the endpoint address from a https address to http
address

endpointAddress = http://webservices.mydomain.com/websrc;
SessionCreateRQService service = new SessionCreateRQService();
SessionCreatePortType port = service.getSessionCreatePortType();
Map<String, Object> requestContext =
((BindingProvider)port).getRequestContext();
requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
endpointAddress);


CXF produces an error like this. What am I missing?

Caused by: java.io.IOException: Illegal Protocol http for HTTPS
URLConnection Factory.
 at
org.apache.cxf.transport.https.HttpsURLConnectionFactory.createConnection(HttpsURLConnectionFactory.java:124)
 at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:482)
 at
org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)
 ... 14 more

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