I am attempting to pass my own object to my SOAP service and am running into some runtime problems that I am assuming to be classpath related. My deployment descriptor is pretty basic (see below) and it successfully deploys the service. The symptoms are a NoClassDefFound as soon as the deployed service is hit, and I have determined the class that it is complaining about is the object that I am passing ("BadOrderModel"). In the course of trying to resolve my path issue, I have dropped the jar that contains the BadOrderModel.class just about everywhere, including the following locations: my module's WEB-INF/lib, unjarred the class files into WEB-INF/classes, put the jar into tomcat's lib and common/lib. None of these things seems to work and I am slowly but surely losing my mind. Has anyone seen this type of behavior? The technologies/versions that I am using are Tomcat4, SOAP 2.3.
 
Any clues would be appreciated.
 
 
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
             id="urn:crb-transactions">
  <isd:provider
     type="java"
     scope="Application"
     methods="getFunction putFunction">
     <isd:java class="xrb.soap.Transactions"/>
  </isd:provider>
  <isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>
  <isd:mappings>
   <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:x="urn://mycompany.com/objects/" qname="x:BadOrderModel"
  javaType="crb.model.shopping.BadOrderModel"
  java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
  xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer" />
  </isd:mappings>
</isd:service>

Reply via email to