Hello
In an application using CXF 2.2.1 in WAS 7 environment, an error occured
during the connection creation (SOAP WS with protocol https):
java.lang.UnsupportedOperationException: Method not implemented
java.net.URLStreamHandler.openConnection(URLStreamHandler.java:91)
java.net.URL.openConnection(URL.java:1005)
org.apache.cxf.transport.https.HttpsURLConnectionFactory.createConnection
(HttpsURLConnectionFactory.java:132)
org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:495)
org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage
(MessageSenderInterceptor.java:46)
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:469)
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:299)
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:251)
org.apache.cxf.endpoint.ClientImpl.invokeWrapped(ClientImpl.java:286)

After debugging, we see that the problem is in the URLStreamHandler instance
in URL object.
We try to execute the method openConnection(Proxy p) on this handle but this
one does not have the openConnection method with a Proxy argument.
Indeed, the handler is an instance of
org.eclipse.osgi.framework.internal.protocol.URLStreamHandlerProxy (WAS
plugin).
Is CXF must set its proper factory for handlers ?
Thanks




--
View this message in context: 
http://cxf.547215.n5.nabble.com/Problem-during-CXF-2-2-1-createConnection-tp5735658.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to