On 2/21/07, Johnson, Larry D (LJOHNSON) <[EMAIL PROTECTED]> wrote:

 Amila,



I downloaded the axis2-SNAPSHOT.zip distribution and tried to rerun the
test.  When the server tries to return the SOAP message, I now receive the
following exception:



Caused by: java.lang.NoClassDefFoundError: javax/xml/soap/SOAPEnvelope

       at
com.arinc.afd.clfengine.processor.CommandProcessor.sendCommandToJAGS(Unknown
Source)

       at
com.arinc.afd.clfengine.processor.jl.GetSeatAvailabilityProcessorJL.processHostRequest

          (Unknown Source)



Digging into a little shows that in this SNAPSHOT, the
axis2-saaj-SNAPSHOT.jar file no longer contains a SOAPEvelope class;
however, it does contain a SOAPEnvelopeImpl class.  This impl class
references the javax.xml.soap.SOAPEvelope class from the standard saaj
distribution; however, saaj was not provided within the distribution.



I deployed the SNAPSHOT by downloading the archive and then exploding it.
 Once expanded, I build the WAR file by going into the 
{path.to.axis2}/axis2-SNAPSHOT/webapp
and issuing the following command: 'ant'.  The resulting axis2.war was
built without error and was found residing in the 'dist' directory.  The WAR
file was then moved into the Tomcat 'webapps' directory (after removing the
prior distribution).



Can you explain how you create your service as well. I hope you creating it
with a POJO class. Then that
Caused by: java.lang.NoClassDefFoundError: javax/xml/soap/SOAPEnvelope is
not most probably relates to saaj. but it may be an OM problem. Can you
please send your wsdl or POJO then I can have a try.


--
Amila Suriarachchi,
WSO2 Inc.

Reply via email to