Since you're getting a NoSuchMethodError (which is caught/thrown by the compiler), My suggestion is that you are using a version of Java class (in this case javax.net.ssl" rel="nofollow">javax.net.ssl. HttpsURLConnection ) which doesn't have the following method signature: javax.net.ssl" rel="nofollow">javax.net.ssl. HttpsURLConnection.
GetSSLSocketFactory() This class can be found in the JRE/lib jsse. Jar (as from time of writing, JDK 1.6.0_21). Make sure that your java libraries and your Apache CXF libaries are declared in the java CLASSPATH That's what I can help you based on your caused exception.
Since you're getting a NoSuchMethodError (which is caught/thrown by the compiler), My suggestion is that you are using a version of Java class (in this case, javax.net.ssl" rel="nofollow">javax.net.ssl. HttpsURLConnection) which doesn't have the following method signature: javax.net.ssl" rel="nofollow">javax.net.ssl. HttpsURLConnection.
GetSSLSocketFactory() This class can be found in the JRE/lib jsse. Jar (as from time of writing, JDK 1.6.0_21). Make sure that your java libraries and your Apache CXF libaries are declared in the java CLASSPATH.
That's what I can help you based on your caused exception.
Very rightlty said. Thats what I was hoping. But the thing is Apache CXF is in classpath amd jssee.
Jar too. But still, it gives this error. So, my guess is it has something to with the Apache CXf overriding (means providing a different implementation of HttpsURLConnection) and the more worrying part is if it goes to HttpsURLConnection in jsse.
Jar (with jdk 1.6.0_16) it has that method. Strange! – user226295 Sep 9 '10 at 3:36 Does it mean static btw?
– user226295 Sep 9 '10 at 7:40 No, the method isn't static and Apache CXF never implemented their own HttpsURLConnection. If both JAVA libraries and CXF are in the classpath, I don't know why they don't see each other. – The Elite Gentleman 5 Sep at 9:35 yeah that's starnge.
Can't say fully confidently that it's definitely due to CXF. But there might be some correlation, 1% may be. Ok, approaching the problem differmntly, what can do to get rid of the same?
Jsse substitute? Also please note that issue comes with only when I use secured SOAP service as oppose to the non-secured one. So, that should throw some hint.
– user226295 Sep 14 '10 at 3:26.
And I had an old code base at hand which was generating the java files through cxf and unsecured, http:// based wsdl. I chnaged the uri and on maven side everything works fine even the test pass. Can you please help?
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.