[EMAIL PROTECTED] wrote:
*Aleksander Slominski <[EMAIL PROTECTED]>*
06/03/2005 01:24 PM
Please respond to wsif-user
To: [email protected]
cc:
Subject: Re: WSIF with JDK1.2
[EMAIL PROTECTED] wrote:
>
> Hi,
>
> I am trying to use WSIF to write a client for a webservice. However,
> my application runs on Websphere 3.5, and the Java Version is 1.2.
>
> 1. Is there a WSIF version available for use with JDK1.2.
>
>
> Alternatively,
>
> 1. Can WSIF be tailored in a short time to use JDK1.2?
i think so - i believe initially it was 1.2 compatible - when you looked
on compiling WSIF with JDK 1.2 what kind of errors do you get?
----- Initially we were getting a Class Not found exception ---
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/naming/Referenceable
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass0(Compiled Code)
at java.lang.ClassLoader.defineClass(Compiled Code)
at java.security.SecureClassLoader.defineClass(Compiled Code)
at java.net.URLClassLoader.defineClass(Compiled Code)
at java.net.URLClassLoader.access$1(Compiled Code)
at java.net.URLClassLoader$1.run(Compiled Code)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Compiled Code)
at java.net.URLClassLoader.findClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClassInternal(Compiled Code)
at org.apache.axis.client.Call.<init>(Call.java:270)
at
org.apache.wsif.providers.soap.apacheaxis.WSIFPort_ApacheAxis.makeNewAXISCall(Unknown
Source)
at
org.apache.wsif.providers.soap.apacheaxis.WSIFPort_ApacheAxis.getCall(Unknown
Source)
at
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invokeRequestResponseOperation(Unknown
Source)
at
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRequestResponseOperation(Unknown
Source)
at DynamicWrapperInvoker.invokeMethod(Compiled Code)
at DynamicWrapperInvoker.executeService(Compiled Code)
at WebServiceClient.main(WebServiceClient.java:15)
----After that we put in j2ee.jar for 1.3 in the classpath, and now we
are getting
Exception in thread "main" java.lang.NoClassDefFoundError:
java/lang/reflect/InvocationHandler
at org.apache.axis.client.Call.<init>(Call.java:270)
at
org.apache.wsif.providers.soap.apacheaxis.WSIFPort_ApacheAxis.makeNewAXISCall(Unknown
Source)
at
org.apache.wsif.providers.soap.apacheaxis.WSIFPort_ApacheAxis.getCall(Unknown
Source)
at
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invokeRequestResponseOperation(Unknown
Source)
at
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRequestResponseOperation(Unknown
Source)
at DynamicWrapperInvoker.invokeMethod(Compiled Code)
at DynamicWrapperInvoker.executeService(Compiled Cod
hi,
this is probably the only thing that makes big difference - dynamic
proxy in JDK 1.3 - but as you can see problem is in AXIS and not in
WSIF (org.apache.axis.client.Call) - maybe you could try and see if it
is possible to remove java.lang.reflect.InvocationHandler dependency
from Call and/or check if somebody on axis-dev made available version of
AXIS 1.2 that is JDK 1.2 compatible ...
HTH,
alek
--
The best way to predict the future is to invent it - Alan Kay