Fórum

WebService Client not working

Abhishek Dhingra, modificado 12 Anos atrás.

WebService Client not working

Junior Member Postagens: 51 Data de Entrada: 08/04/11 Postagens Recentes
Hi All,
I was working on Liferay - Web Service...

I created the Web Service and using build Client created the JAR file for Web Service Client.

Using the Web Service Client, when i am trying to access the Web Service from a new Liferay Portlet , i am facing the below error. But the same Web Service Client , when i tried to access from a new Java Project, it is working fine...

As the error signifies, some JAR file is missing but i included same JAR's as i included in new Java Project.

Can any one please help me regarding the same.

Error Stack Trace:
Exception in thread "main" java.lang.NoClassDefFoundError: com/liferay/portal/kernel/util/InitialThreadLocal
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
at org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewInstance(WSDDTargetedChain.java:157)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
at org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport(WSDDDeployment.java:410)
at org.apache.axis.configuration.FileProvider.getTransport(FileProvider.java:257)
at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:163)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)

Thanks in advance for the help...