Hi there,
I have the same problem. If I use Basic data Object(i.e. String, Int,etc) in the Web Service returning Object there is no problem, but if I try to "envelope" Basic data into Custom Data Object I get in the deployment the following:
org.activiti.engine.ActivitiClassLoadingException: Class not found: package.CustomDataObject
Being the service definition:
<!– Operation: implementationRef = QName of WSDL Operation –>
<operation id="carRentalOperation" name="Cars" implementationRef="imath:getCar">
<inMessageRef>tns:carRequestMessage</inMessageRef>
<outMessageRef>tns:carResponseMessage</outMessageRef>
</operation>
<message id="carRequestMessage" itemRef="tns:carRequestItem" />
<message id="carResponseMessage" itemRef="tns:carResponseItem" />
<itemDefinition id="carRequestItem" structureRef="imath:getCar" />
<itemDefinition id="carResponseItem" structureRef="imath:getCarResponse" />
Being the XML model:
<xs:complexType name="CarRentalType"><xs:sequence>
<xs:element name="Company" type="xs:string"/>
<xs:element name="Price" type="xs:int"/>
</xs:sequence>
</xs:complexType>
<xs:element name="getCar" type="getCar"/>
<xs:complexType name="getCar">
<xs:sequence>
<xs:element name="parametro" type="xs:int"/>
</xs:sequence>
</xs:complexType>
<xs:element name="getCarResponse" type="getCarResponse"/>
<xs:complexType name="getCarResponse">
<xs:sequence>
<xs:element minOccurs="0" name="car" type="CarRentalType"/>
</xs:sequence>
</xs:complexType>
Any idea??
Thanks