Hello,
i am currently implementig a webservice on an ssl-secured webserver.
Now i have a problem when connecting to the webservice with the generated
client files (from WSDL2Java). When invoking a method, i get the following
exception:
- Mapping Exception to AxisFault
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: java.lang.ClassNotFoundException: javax.net.ssl.SSLSocketFactory
faultActor: null
faultDetail:
stackTrace: java.lang.ClassNotFoundException: javax.net.ssl.SSLSocketFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:196)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:170)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:111)
at
org.apache.axis.transport.http.HTTPSender.getSecureSocket(HTTPSender.java:213)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:183)
at org.apache.axis.client.Call.invokeEngine(Call.java:2027)
at org.apache.axis.client.Call.invoke(Call.java:2016)
at org.apache.axis.client.Call.invoke(Call.java:1786)
at org.apache.axis.client.Call.invoke(Call.java:1711)
at org.apache.axis.client.Call.invoke(Call.java:1251)
at
com.tsystems.si.mm.toi.axis.TOIMMPayServiceSOAPBindingStub.payAmount(TOIMMPayServiceSOAPBindingStub.java:171)
at
com.tsystems.si.mm.toi.client.SAMServiceClient.testSSL(SAMServiceClient.java:81)
at
com.tsystems.si.mm.toi.client.SAMServiceClient.main(SAMServiceClient.java:214)
BTW i am using the iaik security provider for the ssl connection, because it
supports strong encryption (jsse doesn't in europe during u.s. export ristrictions).
Has anyone a idea?
ThanX in advance.
cu
Dipl. Inform. (FH) Walter Stocker
T-Systems International GmbH
Software Developer
System Integration
Address: Memmelsdorfer Str. 209a, 96052 Bamberg
Phone: +49 (09 51) 40 97 - 1 46
Fax: +49 (09 51) 40 97 - 2 00
E-Mail: mailto:[EMAIL PROTECTED]
Internet: http://www.t-systems.com