Forum Discussion
arkus_10691
Nimbostratus
Jul 08, 2005multii-dimension array SOAPException
I'm using the SOAP api for iControl v9 within IBM's Rational Application Developer. Things have been going pretty well. (Your XTrustProvider is great!)
Problem: Attempting to invoke L...
arkus_10691
Nimbostratus
Jul 11, 2005Joe,
Attempted to take your advice and use AXIS apis. Replaced the bindings with the supplied Axis bindings. Swapped out the SOAP samples for the AXIS samples.
Edited the LocalLBNodeAddress constructor to use the nifty XTrustProvider.
Added the axis.jar to the classpath.
Running the sample produces a NoClassDefFoundError. I believe that WebSPhere 5.1 removed the sun security provivder from the list of supplied providers.
I would like to use the default com.ibm.jsse.IBMJSSEProvider.
Have tried supplying the following code to no avail.
System.setProperty("java.protocol.handler.pkgs", "com.ibm.net.ssl.internal.www.protocol");
Security.addProvider(new com.ibm.jsse.IBMJSSEProvider());
Security.addProvider(new com.ibm.security.cert.IBMCertPath());
Any ideas?
Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/provider/Sun
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1747)
at java.lang.Class.getConstructor1(Class.java:2063)
at java.lang.Class.getConstructor(Class.java:1124)
at org.apache.commons.discovery.tools.ClassUtils.newInstance(ClassUtils.java:159)
at org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:197)
at org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:579)
at org.apache.axis.AxisProperties$1.run(AxisProperties.java:241)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java:287)
at org.apache.axis.AxisProperties.newInstance(AxisProperties.java:237)
at org.apache.axis.AxisProperties.newInstance(AxisProperties.java:122)
at org.apache.axis.components.net.SocketFactoryFactory.getSecureFactory(SocketFactoryFactory.java:122)
at org.apache.axis.transport.http.HTTPSender.getSecureSocket(HTTPSender.java:155)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:116)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
at org.apache.axis.client.Call.invoke(Call.java:2102)
at org.apache.axis.client.Call.invoke(Call.java:1851)
at org.apache.axis.client.Call.invoke(Call.java:1777)
at org.apache.axis.client.Call.invoke(Call.java:1315)
at iControl.LocalLBNodeAddressBindingStub.get_Session_Status(LocalLBNodeAddressBindingStub.java:800)
at LocalLBNodeAddress.getNodeInfo(LocalLBNodeAddress.java:87)
at LocalLBNodeAddress.parseArgs(LocalLBNodeAddress.java:55)
at LocalLBNodeAddress.main(LocalLBNodeAddress.java:125)
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects