0 Replies Latest reply on Dec 15, 2010 6:09 AM by chandrarsa

    unable to find AxisHeaderContextHandler class in my project

    chandrarsa

      Hi,

       

      I developed sample webservice and deployed successfully then developed client for that web service using 'Axis'. The webservice client also working fine but when I include below client-config.wsdd in project class for WS-Transaction purpose then the web service client is giving below exception.

       

      Please someone help me to sort out to make transaction soap request

       

       

      ******************* client.config.wsdd *******************

      <?

      xml version="1.0" ?>

      <

      deployment xmlns="http://xml.apache.org/axis/wsdd/"

      xmlns:java

      ="http://xml.apache.org/axis/wsdd/providers/java">

      <

      globalConfiguration>

       

      <parameter name="sendXsiTypes" value="true"/>

       

      <parameter name="sendMultiRefs" value="true"/>

       

      <parameter name="sendXMLDeclaration" value="true"/>

       

      <requestFlow>

       

      <handler type="java:com.arjuna.mw.wst.client.AxisHeaderContextHandler"/>

       

      </requestFlow>

       

      <responseFlow>

       

      <handler type="java:com.arjuna.mw.wst.service.AxisHeaderContextHandler"/>

       

      </responseFlow>

      </

      globalConfiguration>

      <

      transport name="http" pivot="java:org.apache.axis.transport.http.HTTPSender"/>

      <

      transport name="local" pivot="java:org.apache.axis.transport.local.LocalSender"/>

      </

      deployment>

      ******************* Exception *******************

      org.apache.axis.ConfigurationException

       

      : java.lang.ClassNotFoundException: com.arjuna.mw.wst.client.AxisHeaderContextHandler

      java.lang.ClassNotFoundException

       

      : com.arjuna.mw.wst.client.AxisHeaderContextHandler

      at java.net.URLClassLoader$1.run(

      URLClassLoader.java:202)

      at java.security.AccessController.doPrivileged(

      Native Method)

      at java.net.URLClassLoader.findClass(

      URLClassLoader.java:190)

      at java.lang.ClassLoader.loadClass(

      ClassLoader.java:307)

      at sun.misc.Launcher$AppClassLoader.loadClass(

      Launcher.java:301)

      at java.lang.ClassLoader.loadClass(

      ClassLoader.java:248)

      at org.apache.axis.utils.ClassUtils$2.run(

      ClassUtils.java:187)

      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.WSDDDeployableItem.getJavaClass(

      WSDDDeployableItem.java:353)

      at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(

      WSDDDeployableItem.java:295)

      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.WSDDChain.makeNewInstance(

      WSDDChain.java:125)

      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.getGlobalRequest(

      WSDDDeployment.java:473)

      at org.apache.axis.configuration.FileProvider.getGlobalRequest(

      FileProvider.java:269)

      at org.apache.axis.AxisEngine.getGlobalRequest(

      AxisEngine.java:365)

      at org.apache.axis.client.AxisClient.invoke(

      AxisClient.java:126)

      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)

      at org.example.www.Sample.SampleSOAPStub.sampleTest(

      SampleSOAPStub.java:121)

      at org.example.www.Sample.SampleProxy.sampleTest(

      SampleProxy.java:50)

      at org.example.www.Sample.TestClient.main(

      TestClient.java:10)

      at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(

      WSDDDeployableItem.java:297)

      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.WSDDChain.makeNewInstance(

      WSDDChain.java:125)

      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.getGlobalRequest(

      WSDDDeployment.java:473)

      at org.apache.axis.configuration.FileProvider.getGlobalRequest(

      FileProvider.java:269)

      at org.apache.axis.AxisEngine.getGlobalRequest(

      AxisEngine.java:365)

      at org.apache.axis.client.AxisClient.invoke(

      AxisClient.java:126)

      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)

      at org.example.www.Sample.SampleSOAPStub.sampleTest(

      SampleSOAPStub.java:121)

      at org.example.www.Sample.SampleProxy.sampleTest(

      SampleProxy.java:50)

      at org.example.www.Sample.TestClient.main(

      TestClient.java:10)

      at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(

      WSDDDeployableItem.java:297)

      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.WSDDChain.makeNewInstance(

      WSDDChain.java:125)

      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.getGlobalRequest(

      WSDDDeployment.java:473)

      at org.apache.axis.configuration.FileProvider.getGlobalRequest(

      FileProvider.java:269)

      at org.apache.axis.AxisEngine.getGlobalRequest(

      AxisEngine.java:365)

      at org.apache.axis.client.AxisClient.invoke(

      AxisClient.java:126)

      ... 8 more