I've created a custom exception in WSDL with some extra fields in it,
generated the Java and deployed it all successfully (including setting up a
beanMapping), but the extra fields don't seem to be serialized and
deserialized to XML.  The generated exception class has all the right
constructors and allows me to set the fields in the object, but they are not
passed in the SOAP message at all.  The schema definition for the exception
is:

<schema ...>
 ...
 <complexType name="MyChainedException">
  <sequence>
   <element name="chainedException" nillable="true"
type="mce:MyChainedException"/>
   <element name="message" nillable="true" type="xsd:string"/>
  </sequence>
 </complexType>
 <element name="MyChainedException" nillable="true"
type="tns1:MyChainedException"/>
</schema>

Is there something *extra* I need to do to force it to use the Bean
(De)Serializer?  Is it possible to do this at all for an exception?  Anyone
else had any success using chained exceptions with Axis?

Cheers,

Steve

Reply via email to